What do you mean by thermal energy
As answered previously...
Energy in the form of heat is called thermal energy. It is generated and measured in the form of heat. Motion of molecules with speed and collision with other each other causes heat in a substance.