What is thermal energy?

A. a material that is a conductor of heat
B. the total kinetic energy of all particles in a substance
C. the distance between particles and their freedom to move around
D. the measurement of energy in an object due to position, conduction, or chemical composition

B. the total kinetic energy of all particles in a substance