Photolysis occurs in the atmosphere as part of a series of reactions by which primary pollutants such as hydrocarbons and nitrogen oxides react to form secondary pollutants such as peroxyacyl nitrates. See Photochemical smog.