When oxynitride photocatalysts are exposed to light, they generate electron-hole pairs. These carriers participate in redox reactions on the surface of the catalyst. The nitrogen atoms in the lattice create intermediate energy levels, which help to reduce the bandgap, allowing the material to absorb visible light. This process can be employed for various reactions, including the generation of hydrogen from water and the reduction of carbon dioxide into useful chemicals.