If we have a gas with some heat, the atoms are all bouncing around and stuff. Their kinetic energy is
But momentum is given by , so we can rewrite the energy as
Everyone knows , so
The kinetic energy of the motion of molecules is just the temperature of the gas!
(PS – this is a joke, but it actually gets the right answer for a 1-dimensional ideal gas. See wikipedia Thermal Energy)