Thermal energy is the total kinetic energy of the particles in a substance; this is easiest to see in gases. Temperature is a measure of the average kinetic energy of the particles. Thus, when temperature goes up, it's because the thermal energy went up. read more