 In monatomic perfect gases and, approximately, in most gases, temperature is a measure of the mean particle kinetic energy.It also determines the probability distribution function of the energy.In condensed matter, and particularly in solids, this purely mechanical description is often less useful and the oscillator model provides a better description to account for quantum mechanical phenomena.