That is, temperature is a measure of how hot or cold a substance is. In contrast, the total energy of motion in the particles of a substance is called thermal energy. Temperature is one of the most important factors affecting the weather. Air temperature is usually measured with a thermometer.