Temperature is a number that is related to the average kinetic energy of the molecules of a substance. If temperature is measured in Kelvin degrees, then this number is directly proportional to the average kinetic energy of the molecules. Heat is a measurement of the total energy in a substance.