What is thermal energy?

A: The total energy of objects measured in Fahrenheit

B: the total energy of the motion of molecules

C: the total energy of heat molecules

D: the total energy of temperature