Pair production is the creation of an elementary particle and its antiparticle, for example creating an electron and positron, a muon and antimuon, or a proton and antiproton. Pair production often refers specifically to a photon creating an electron-positron pair near a nucleus but can more generally refer to any neutral boson creating a particle-antiparticle pair. In order for pair production to occur, the incoming energy of the interaction must be above a threshold in order to create the pair, at least the total rest mass energy of the two particles and that the situation allows, both energy and momentum to be conserved.There exists an inverse process to pair production called pair annihilation, in which a particle and its antiparticle collide and annihilate each other, the total energy of the two particles appearing as electromagnetic radiation.