Heat Kernel Bounds on Metric Measure Spaces and Some Applications