Hey!!
Here's your answer
Thermal energy is the energy that is generated or measured by heat.
Thermal energy measures the movement of atoms or molecules within a substance.
Hope it helps