Found in two layers of the atmosphere, the stratosphere and the troposphere. In the stratosphere (the atmospheric layer 7 to 10 miles or more above the earth's surface) ozone is a natural form of oxygen that provides a protective layer shielding the earth from ultraviolet radiation.In the troposphere (the layer extending up 7 to 10 miles from the earth's surface), ozone is a chemical oxidant and major component of photochemical smog. It can seriously impair the respiratory system and is one of the most wide- spread of all the criteria pollutants for which the Clean Air Act required EPA to set standards. Ozone in the troposphere is produced through complex chemical reactions of nitrogen oxides, which are among the primary pollutants emitted by combustion sources; hydrocarbons, released into the atmosphere through the combustion, handling and processing of petroleum products; and sunlight.
Source: Terms of the Environment