Thermal Energy and Entropy