The best description of thermal energy is:
Thermal energy is the energy in matter due to the movement of its atoms and/or molecules.
This definition captures the essence of thermal energy, which is related to the kinetic energy of particles in a substance.