Photoproducts are formed through photochemical reactions, which involve the absorption of photons by molecules. This energy absorption can cause changes in molecular structures, leading to the formation of new compounds. These reactions are influenced by factors such as wavelength, intensity of light, and the nature of the substance involved.