The Boltzmann distribution gives the probability of particles occupying energy states.