Because of momentum conservation laws, the creation of a pair of fermions (matter particles) out of a single photon cannot occur. However, matter creation is allowed by these laws when in the presence of another particle (another boson, or even a fermion) which can share the primary photon's momentum. Thus, matter can be created out of two photons.