Thermal energy is what happens when heat moves between substances.
Further explanation
Thermal energy usually refers to the temperature of an object which indicates the energy it has
Temperature is used as a guide to the level of thermal energy from objects
While heat is the transfer of thermal energy
Heat moves when there is a difference in temperature
The amount of heat is influenced by the mass of the object and the difference in temperature
Can be formulated :
Q = m.c.ΔT
Q: heat received or removed by an object (J)
m: object mass (kg)
c: heat type substance (J / kg⁰C)
ΔT: temperature change (⁰C)