The quark–gluon plasma that composes the universe cools until hadrons, including baryons such as protons and neutrons, can form. Initially, hadron/anti-hadron pairs could form, so matter and antimatter were in thermal equilibrium. However, as the temperature of the universe continued to fall, new hadron/anti-hadron pairs were no longer produced, and most of the newly formed hadrons and anti-hadrons annihilated each other, giving rise to pairs of high-energy photons. A comparatively small residue of hadrons remained at about 1 second of cosmic time, when this epoch ended.