Temperature is a measure of how much the atoms in a substance are moving. Why is a substance hotter in the gas state than in the liquid state?