Li and Yau type two-sided heat kernel bounds are obtained for symmetric dif
fusions under a curvature-dimension condition, where the heat kernel upper
bound is established for a more general case. As an application, the compac
tness of manifolds is studied using heat kernels. In particular, a conjectu
re by Bueler is proved.