Thermal Energy and Temperature Equilibrium