In thermodynamics we study processes related to internal energy of the system - thermal energy.
Thermal energy is the energy related to the energy of motion and energy of interaction of atoms or molecules inside of the object.
It means that the thermal energy of the object is the mechanical energy of atoms and molecules inside of this object.
Sometimes the the thermal energy is called internal energy or heat.
Below you will find animations of different concepts related to thermodynamics and thermal energy.