Heat energy is the result of the movement of tiny particles called atoms, molecules or ions in solids, liquids and gases. Heat energy can be transferred from one object to another.
Thermal energy is produced when a rise in temperature causes atoms and molecules to move faster and collide with each other. The energy that comes from the temperature of the heated substance is called thermal energy.