The atmosphere of Earth consists of a multi-layered gas mixture (commonly referred to as air) surrounding the Earth's planetary surface, which is retained by gravity. Like the atmospheres of other planets, Earth's atmosphere also contains variable quantities of suspended aerosols and particulates that create weather features such as clouds and hazes. The atmosphere serves as a protective buffer between the Earth's crust and the outer space, shielding the surface from most meteoroids and ultraviolet solar radiation. It also reduces diurnal temperature variation (i.e. the temperature extremes between day and night), keeps the Earth's surface warm through heat retention via the greenhouse effect, redistributes heat and moisture convectively among different regions via air currents, and provides the chemical and climate conditions that allow life to exist and evolve. By mole fraction (i.e., by quantity of molecules), dry air contains 78.08% nitrogen, 20.95% oxygen, 0.93% argon, 0.04% carbon dioxide, and small amounts of other trace gases (see Composition below for more detail). Air also contains a variable amount of water vapor, on average around 1% at sea level, and 0.4% over the entire atmosphere. Earth's primordial atmosphere consisted of mainly hydrogen and helium gases accreted from the solar nebula, but the composition changed significantly over time, affected by many factors such as atmospheric escape (primarily of the more volatile hydrogen and helium), volcanism and outgassing, impact events and weathering. By the Archean eon, the Earth's atmosphere transitioned into a secondary atmosphere dominated by nitrogen and methane with other mixtures such as water vapor, carbon dioxide, hydrogen sulfide and sulfur dioxide. This prebiotic atmosphere, however, further changed with the evolution of life, particularly the rise of cyanobacteria — chlorophyll-bearing photoautotrophs capable of oxygenic photosynthesis, i.e. using (red and blue spectrum) sunlight to split water and fix carbon while releasing highly reactive dioxygen as the chemical byproduct. This continuous biotic oxygen release eventually depleted all reductants available on the Earth's surface, initially in the hydrosphere and later in the lithosphere and the atmosphere, permanently converting the once-reducing atmosphere into an oxidative atmosphere in a geological event at the end of the Archean known as the Great Oxygenation Event. During the subsequent Proterozoic and Phanerozoic eons, the Earth's atmosphere — which is actually its tertiary atmosphere — experienced several further rounds of oxygenation, resulting in the nitrogen/oxygen-dominated atmosphere of today. In the present day, human activity has contributed to atmospheric changes, such as climate change (mainly through deforestation and fossil-fuel–related global warming), ozone depletion and acid deposition. The atmosphere has a mass of about 5.15×1018 kg, three-quarters of which is within about 11 km (6.8 mi; 36,000 ft) of the surface. The atmosphere becomes thinner with increasing altitude, with no definite boundary between the atmosphere and outer space. The Kármán line at 100 km (62 mi) is often used as a conventional definition of the edge of space. Several layers can be distinguished in the atmosphere based on characteristics such as temperature and composition, namely the troposphere, stratosphere, mesosphere, thermosphere (formally the ionosphere), and exosphere. Air composition, temperature and atmospheric pressure vary with altitude. Air suitable for use in photosynthesis by terrestrial plants and respiration of terrestrial animals is found within the troposphere. The study of Earth's atmosphere and its processes is called atmospheric science (aerology), and includes multiple subfields, such as climatology and atmospheric physics. Early pioneers in the field include Léon Teisserenc de Bort and Richard Assmann. The study of the historic atmosphere is called paleoclimatology.
Composition
The three major constituents of Earth's atmosphere are nitrogen, oxygen, and argon. Water vapor accounts for roughly 0.25% of the atmosphere by mass. In the lower atmosphere, the concentration of water vapor (a greenhouse gas) varies significantly from around 10 ppm by mole fraction in the coldest portions of the atmosphere to as much as 5% by mole fraction in hot, humid air masses, and concentrations of other atmospheric gases are typically quoted in terms of dry air (without water vapor). The remaining gases are often referred to as trace gases, among which are other greenhouse gases, principally carbon dioxide, methane, nitrous oxide, and ozone. Besides argon, other noble gases, neon, helium, krypton, and xenon are also present. Filtered air includes trace amounts of many other chemical compounds. The concentration of Xe in the atmosphere is much lower than the other noble gases, a geological mystery known as "the missing xenon problem". Numerous proposals have been made to explain the mystery, including formation of Xe–Fe oxides in the Earth's lower mantle, formation of xenon dioxide in silica, and reactions between Xe and Fe/Ni in the Earth's core. Many substances of natural origin may be present in locally and seasonally variable small amounts as aerosols in an unfiltered air sample, including dust of mineral and organic composition, pollen and spores, sea spray, and volcanic ash. Various industrial pollutants also may be present as gases or aerosols, such as chlorine (elemental or in compounds), fluorine compounds, and elemental mercury vapor. Sulfur compounds such as hydrogen sulfide and sulfur dioxide (SO2) may be derived from natural sources or from industrial air pollution.
The average molecular weight of dry air, which can be used to calculate densities or to convert between mole fraction and mass fraction, is about 28.946 or 28.964 g/mol. This is decreased when the air is humid. Up to an altitude of around 100 km (62 mi), atmospheric turbulence mixes the component gases so that their relative concentrations remain the same. There exists a transition zone from roughly 80 to 120 km (50 to 75 mi) where this turbulent mixing gradually yields to molecular diffusion. The latter process forms the heterosphere where the relative concentration of lighter gases increases with altitude.
Stratification
… excerpt ends here. Continue reading the full article.

![Atmosphere of Earth: Earth's atmosphere from space, showing a blue layer in the stratosphere above the clouds of the troposphere. The Moon is visible as a crescent in the background.[1]](https://thumb.wikimedia.org/wikipedia/commons/thumb/b/be/Top_of_Atmosphere.jpg/1280px-Top_of_Atmosphere.jpg?utm_source=en.wikipedia.org&utm_campaign=parser&utm_content=thumbnail)
![Atmosphere of Earth: Composition of Earth's atmosphere by molecular count, excluding water vapor. The lower pie represents trace gases that together compose about 0.0434% of the atmosphere.[5][6][7]](https://thumb.wikimedia.org/wikipedia/commons/thumb/7/7a/Atmosphere_gas_proportions.svg/500px-Atmosphere_gas_proportions.svg.png?utm_source=en.wikipedia.org&utm_campaign=parser&utm_content=thumbnail)
![Atmosphere of Earth: The volume fraction of the main constituents of the Earth's atmosphere as a function of height, based on the MSIS-E-90 atmospheric model[19]. The model only works above 85 km.](https://thumb.wikimedia.org/wikipedia/commons/thumb/6/6d/Msis_atmospheric_composition_by_height.svg/500px-Msis_atmospheric_composition_by_height.svg.png?utm_source=en.wikipedia.org&utm_campaign=parser&utm_content=thumbnail)
![Atmosphere of Earth: A prism cross-section of the Earth's atmosphere. The strata are drawn to scale, but individual features are not.[25]: 322](https://thumb.wikimedia.org/wikipedia/commons/thumb/8/8c/Earth%27s_atmosphere.svg/330px-Earth%27s_atmosphere.svg.png?utm_source=en.wikipedia.org&utm_campaign=parser&utm_content=thumbnail)
