All elementary particles are either bosons or fermions. These classes are distinguished by their quantum statistics : fermions obey Fermi–Dirac statistics and bosons obey Bose–Einstein statistics. Their spin is differentiated via the spin–statistics theorem : it is half-integer for fermions, and integer for bosons.