Ozone in the atmosphere is formed via photochemical reactions involving nitrogen oxides and volatile organic compounds.