How can you compare and contrast heat temperature and thermal energy?

Thermal energy is the sum of the kinetic energy and the potential energy of the particles in a material. Heat is a form of energy transferred by differences in temperature. These are both forms of energy.