Pair production
Pair production is more common if the photon has a lot of energy. It is also more common if the nucleus has a bigger atomic number. Pair production usually happens with energy levels over 25 MeV. Pair production happens sometimes in radiation therapy treatments that use photon beams with a lot of energy.