Mission to Planet Earth: The First Two Billion Years

Solar radiation and geological processes over the first few million years of Earth’s history, followed soon thereafter by the origin of life, steered our planet towards an evolutionary trajectory of long-lived habitability that ultimately enabled the emergence of complex life. We review the most important conditions and feedbacks over the first 2 billion years of this trajectory, which perhaps represent the best analogue for other habitable worlds in the galaxy. Crucial aspects included: (1) the redox state and volatile content of Earth’s building blocks, which determined the longevity of the magma ocean and its ability to degas H2O and other greenhouse gases, in particular CO2, allowing the condensation of a water ocean; (2) the chemical properties of the resulting degassed mantle, including oxygen fugacity, which would have not only affected its physical properties and thus its ability to recycle volatiles and nutrients via plate tectonics, but also contributed to the timescale of atmospheric oxygenation; (3) the emergence of life, in particular the origin of autotrophy, biological N2 fixation, and oxygenic photosynthesis, which accelerated sluggish abiotic processes of transferring some volatiles back into the lithosphere; (4) strong stellar UV radiation on the early Earth, which may have eroded significant amounts of atmospheric volatiles, depending on atmospheric CO2/N2 ratios and thus impacted the redox state of the mantle as well as the timing of life’s origin; and (5) evidence of strong photochemical effects on Earth’s sulfur cycle, preserved in the form of mass-independent sulfur isotope fractionation, and potentially linked to fractionation in organic carbon isotopes. The early Earth presents itself as an exoplanet analogue that can be explored through the existing rock record, allowing us to identify atmospheric signatures diagnostic of biological metabolisms that may be detectable on other inhabited planets with next-generation telescopes. We conclude that investigating the development of habitable conditions on terrestrial planets, an inherently complex problem, requires multi-disciplinary collaboration and creative solutions.


Introduction
Earth is the only inhabited planet that we know of. Our planet therefore provides a key anchor point for understanding, predicting, and modelling the formation of habitable worlds as well as for testing remote and in situ biosignatures. Importantly, Earth and its biosphere have undergone major evolutionary changes over the last 4.5 billion years, enabling the investigation of geo-biological feedbacks under a range of environmental conditions. Until about 2.4 billion years ago (Ga) Earth's atmosphere was essentially devoid of O 2 gas. Complex life only evolved roughly 600 million years ago (Ma). For its first two billion years (4.5-2.5 Ga), ecosystems were thus dominated by anaerobic microbial communities and perhaps more strongly tied to planetary processes than today. These processes include outgassing of volatiles, recycling of nutrients and greenhouse gases after the establishment of plate tectonics, and photochemical reactions that can erode atmospheric gases or convert them into soluble molecules. Life originated from this framework and eventually took control over many of the associated feedbacks. It is this interval of Earth's history that can perhaps be considered the best analogue for other worlds that may be inhabited by simple life forms, incapable of complex metabolisms such as oxygenic photosynthesis. This paper reviews what is known about the establishment of habitable conditions spanning geological (Sects. 2, 3), biological (Sect. 4), solar/photochemical constraints (Sects. 5, 6, 7) on the atmosphere; and how these feed into the frontier challenge of detecting biospheres remotely via atmospheric signatures (Sect. 8).

From Magma to a Water Ocean
An important transition towards habitability in Earth's early history was the establishment of a liquid water ocean under an atmosphere with a stabilizing degree of greenhouse warming. This transition required cooling and solidification of the primitive mantle following Moon formation (Lock et al. 2018;Canup and Asphaug 2001), as well as outgassing of H 2 O and CO 2 (Elkins-Tanton 2008). These two volatiles were perhaps the major players of the socalled secondary atmosphere from which the ocean ultimately condensed. The formation period of a solid crust following Moon formation and its duration are crucial for understanding the initial secondary atmospheres on Earth-like planets. During the solidification period of the primitive mantle, volatiles are relatively easily exchanged between the planetary interior and the atmosphere. Once the surface solidifies to form the crust, this exchange is severely hampered for the rest of the planet's lifetime, causing volatile exchange rates to drop dramatically. In the classical scenario of a magma ocean that crystallizes from the bottom upwards (e.g. Elkins-Tanton 2012), some volatile components can become supersaturated in the magma and be released into the atmosphere. By this mechanism, most of the CO 2 tends to be outgassed in the earliest stages of the magma ocean because of its low solubility in silicate melts. H 2 O, in contrast, is more soluble and is outgassed only when it is highly enriched in the liquid magma ocean-a condition that is generally reached towards the end of magma solidification. At that time, atmospheric CO 2 and H 2 O may have reached partial pressures (p CO 2 , p H 2 ) of approximately 100 bar and a few hundred bar, respectively (Zahnle et al. 1988;Sleep 2010;Salvador et al. 2017). All outgassed particles, in combination with possible remnants from the hydrogen envelope that formed during the planet's accretion phase (the "primary atmosphere"), form a dense steam atmosphere.
The behaviour of nitrogen in this period, the most abundant atmospheric component at present day, is not fully understood. On the one hand, several mass-balance and modelling studies have suggested N 2 partial pressures similar to today or slightly higher (e.g. Barry and Hilton 2016;Stüeken et al. 2016b;Johnson and Goldblatt 2018;Mallik et al. 2018). In fact, higher-than-modern atmospheric p N 2 , paired with relatively low p CO 2 , was proposed as a potential solution to the Faint Young Sun Paradox later in the Archean by pressure broadening (e.g. Goldblatt et al. 2009;Goldblatt and Zahnle 2011;Byrne and Goldblatt 2015). On the other hand, in an atmospheric steam N 2 could have been reduced to NH 3 which may have been soluble in the magma ocean. Through this mechanism, nitrogen could thus have been transferred efficiently from the atmosphere back into the lithosphere as long as the magma ocean was liquid (Solomatov 2000;Libourel et al. 2003;Zahnle et al. 2010;Kadik et al. 2011;Wordsworth 2016). In addition to this temperature-driven conversion of N 2 to NH 3 at the interface between the atmosphere and the crust, high EUV irradiation from the young Sun (e.g. Tu et al. 2015;Airapetian et al. 2016), cosmic rays (e.g. Grenfell et al. 2012;Tabataba-Vakili et al. 2016; and see also Sect. 5), and frequent meteoric impacts (e.g. Fegley et al. 1986;Parkos et al. 2018) are all capable of dissociating atmospheric N 2 and enabling N incorporation into surface materials. Although significant uncertainties remain, emerging views on ingassing and escape of N allow for depletion of N (and potentially other volatiles) in Earth's early secondary atmosphere.
If nitrogen was outgassed during the magma ocean phase with a similar C/N ratio as observed on present Earth and did not escape, then the partial pressure of N 2 (p N 2 ) is expected to be two orders lower than that of CO 2 . It would not exceed 500 mbar for realistic amounts of CO 2 . Following the estimates of abiotic lightning-driven N 2 fixation rates proposed by Navarro-González et al. (1998), and assuming complete conversion of this fixed nitrogen to NH 3 , this partial pressure would imply a drawdown of 100 mbar nitrogen in around 5 Myr assuming that the fixed nitrogen is trapped as NH 3 at reducing conditions in the mantle and is not outgassed until the mantle reaches a high enough oxidation state for the conversion of NH 3 to N 2 (discussed in ). However, it remains uncertain if nitrogen outgassed at all during the magma ocean stage (Libourel et al. 2003). In summary, it is thus conceivable that nitrogen partial pressures were rather low towards the end of the Hadean, but outgassing rates during the early Earth remain a crucial unknown.
The H 2 O and CO 2 that outgassed from the magma ocean would have acted as greenhouse gases. H 2 O in particular absorbs infrared radiation over a wide range of wavelengths, which may have slowed down the cooling and solidification of the magma ocean (Elkins-Tanton Fig. 1 Composition of outgassed gases from a magma ocean in dependence of oxidation state and temperature. The gas has a fix H/C ratio of 0.5. IW describes the oxygen fugacity through the buffer in coexisting pure iron and wüstite (figure by Hirschmann 2012) 2008, 2012). Although the solidification timescale depends on several poorly constrained parameters , it is influenced to first order by the bulk abundance of volatiles and by the incoming stellar radiation (Hamano et al. 2013;Lebrun et al. 2013;. A volatile-depleted magma ocean that radiates its heat to space in the absence of an atmosphere is expected to solidify relatively quickly within a few thousand years (e.g. Monteux et al. 2016). In contrast, a magma ocean with a conservative initial H 2 O budget equivalent to 300 bar outgasses about 220 bar H 2 O into the atmosphere over its evolution, and at a distance from the Sun of 1 AU, such an atmosphere extends the solidification time to about 1 Myr (e.g. Lebrun et al. 2013;). This duration scales roughly linearly with the initial abundance of water in the mantle, which is poorly constrained (Korenaga 2013). Since these timescales are relatively short compared to the period over which large-scale, magma-ocean-forming collisions with other planetary bodies are expected, the occurrence of multiple magma ocean phases is possible over the early planetary history. Indeed, for the Earth, two episodes of magma ocean outgassing have been proposed to explain the isotopic difference of 3 He/ 22 Ne between the depleted mantle and a primitive deep reservoir (Tucker and Mukhopadhyay 2014). It has to be noted that the oxidation state of the melts has a crucial influence on the outgassed composition (see Fig. 1).
The end of the magma ocean is usually identified as the time when the planet enters a so-called "mush phase" (Lebrun et al. 2013), where the whole mantle up to its surface exhibits a solid-like behavior despite the presence of residual melt (below 30-40%) at shallow depths. The beginning of the mush phase coincides with a dramatic drop in the surface temperature and heat flux, which generally causes part of the outgassed steam atmosphere to condense, forming a water ocean. The possibility to achieve condensation depends on the amount of CO 2 present in the atmosphere at the end of solidification (Lebrun et al. 2013;Massol et al. 2016;Salvador et al. 2017). For a given amount of outgassed water, the higher the CO 2 partial pressure, the more difficult it is to achieve condensation, which occurs when the saturation vapor pressure of water at the surface is reached. At the Earth's orbit and for plausible amounts of H 2 O and CO 2 (comparable to the present-day extent of the two reservoirs), the condition to achieve condensation is easily met (e.g. Salvador et al. 2017).
The formation of a water ocean is thus a natural outcome of the solidification of a waterrich magma ocean and is expected to occur within up to few million years after the last major impact event capable of causing large-scale mantle melting. The last such event was probably the Moon-forming impact taking place up to 130 Myr after the condensation of the first solids in the solar system (e.g. Jacobson et al. 2014;Bottke et al. 2015). The closeto-chondritic D/H ratio of sea water provides evidence that the oxidation of silicate Earth occurred during or before the crystallization of the final global-scale magma ocean (Pahlevan et al. 2019, see Fig. 1). If the mantle had been highly reducing at that time, then the outgassed atmosphere would have been dominated by H 2 and CO instead of H 2 O and CO 2 , and such a gas mixture would have facilitated hydrogen escape to space, including loss of H relative to D, leading to higher D/H ratios than observed. D/H ratios thus suggest that the silicate Earth was at least oxidized enough to outgas mainly H 2 O and CO 2 , leading to reduced hydrogen escape, because of CO 2 would have provided IR-cooling in the upper atmosphere. Similarly, if the steam atmosphere had survived for several Myr, one would expect to see a more significant increase in the D/H ratio through hydrodynamic escape over time. Hence the present-day D/H ratio implicates a short-lived steam atmosphere presence. This view is further supported by unfractionated Ne isotopes (Avice and Marty 2020, this issue).
CO 2 would have played a key role in protecting the secondary atmosphere from escaping to space, because it cools the upper atmosphere and therefore reduces its expansion. For sufficient atmospheric CO 2 , an appropriate oxidation state of the final magma ocean is required (Fig. 1); for reduced conditions the atmosphere is therefore highly susceptible to strong escape rates (Kasting 1982;. After the magma-ocean phase and during ensuing tectonic conditions that may have been similar to a stagnant-lid regime (e.g. O'Neill and Debaille 2014), CO 2 would have dissolved in the ocean and reacted with oceanic crust as in classic weathering reactions. This process would have decreased the partial pressure CO 2 over time (e.g. Hessler et al. 2004;Kanzaki and Murakami 2015;Sleep and Zahnle 2001). For 1 bar of atmospheric CO 2 , in the presence of a stagnant-lid and a water ocean, estimates of the amount of CO 2 that could have been removed by seafloor weathering range from 70 to 97 % (Walker 1985;Jacob 1999). With the onset of plate tectonics, which allowed replacement of weatherable surface material, CO 2 levels would likely have been reduced further. Hence overall, atmospheric p CO 2 likely decreased continuously throughout the Archean, especially if volcanic regimes did not change significantly during this time to counteract high weathering rates, but this remains unconstrained. As discussed in Birmingham et al. (2020, this issue), the young Sun's bolometric luminosity was only about 70% of today's value, which demands higher amounts of greenhouse gases like CO 2 , CH 4 , etc. to keep the ocean liquid (Feulner 2012;Wolf and Toon 2013;Kunze et al. 2014;Charnay et al. 2017).
A high CO 2 to N 2 ratio in the early Archean was proposed by : High EUV radiation likely eroded N 2 from the atmosphere, but since there is no detectable evidence of this process in the 14 N/ 15 N record (Füri and Marty 2015), the atmospheric N 2 reservoir was probably small at that time and only constituted a small fraction of Earth's total nitrogen inventory. However, sometime in Earth's history, maybe as late as the Great Oxidation Event at 2.4 Ga, nitrogen became the most abundant constituent in the atmosphere, possibly due to continuous volcanogenic or biogenic N 2 liberation Stüeken et al. 2016b), although see Sect. 3.2. By that time, solar EUV irradiation would have been sufficiently low and the magnetosphere sufficiently intense and stable to minimize strong atmospheric escape of nitrogen, as supported by stable isotopic compositions in atmospheric N 2 since that time ).

Beyond the Magma Ocean: Geological Controls on Planetary Surface Evolution
The development of habitable conditions at the Earth's surface was controlled by geological parameters, i.e. the redox state and composition of the primitive mantle and the internal heat of the planet (Sect. 2). While the details of these processes provided the initial conditions that enabled the evolution of the Earth system, additional processes were pivotal in establishing the habitability of our planet and may prove fundamental to the search for life in the Universe. A clear impediment to this line of research is the scarcity of a preserved geologic record of Earth's most ancient history. As a result, the state of the early Earth is predominantly investigated through numerical simulations. Two types of models are in use: (a) understanding the controls on the modern Earth and seeking how these contributions have changed backwards in time ("backward models"), and (b) developing initial conditions bounded by fundamental physical and chemical laws (Sleep 2010) and evolving these simulations forward in time ("forward models"). A planetary state can be thought of as a snapshot of a planet at a certain instant of time. The planetary state of modern Earth is determined by the transfer of energy between the planet's interior and the planet's surface, coupled with the transfer of energy between the planet's surface and the space environment. As a result, the state of Earth's surface depends on energy delivered from the Earth's interior and from the Sun (Lenardic et al. 2016). The Earth's interior has a comparatively greater role than the Sun in determining Earth's state for two main reasons: The first is in the delivery and recycling of volatiles to and from the atmosphere by way of plate tectonics (mantle convection and plate subduction) and associated volcanism, and the second is the protection of the atmosphere from solar wind stripping through the magnetic field generated by convection of the liquid outer core.

Earth Formation, Ocean Evolution, and the Onset of Plate Tectonics
The proto-Earth formed by the accretion of smaller precursors analogues of which still exist today as remnants of the early solar system: chondritic meteorites ("chondrites"). The Earth-Moon system was likely formed following a high-energy high-angular-momentum impact between the proto-Earth and "Theia", another solar system body. This cataclysmic impact may have formed a synestia, a rapidly spinning mass of vaporized rock from which the Earth-Moon system emerged (Lock et al. 2018). This proposed mechanism differs from the canonical model of the "Moon-forming impact" based on smooth particle hydrodynamics (Canup and Asphaug 2001). In the latter mechanism, forward models predict a hydrated initial mantle (Zahnle et al. 2010). Backward models argue for a dry mantle (Korenaga 2011). Regardless of the initial state of the mantle, the resulting angular momentum at the end of the synestia or canonical Moon-forming impact is hypothesized to have been conserved since then.
As a result of the tidal torque on the Earth's ocean by the Moon and by conservation of angular momentum, the Earth's rotation rate has been slowing down and the Moon has receded. Orbital mechanics calculations suggest an Earth spinning twice the current rate 3.5 billion years ago (Webb 1982). Such predictions mostly agree with geological indicators of the diurnal cycle (Williams 2000). Any predictions older than 3.5 Ga must be used with caution as the uncertainties in the controlling parameters become high. For example, the origin and initial evolution of the oceans, a major player in tidal dissipation (Bills and Ray 1999), is poorly constrained. Based on geochemical arguments, the oceans' volume has been proposed to be 26% larger 3.8 billion years ago, slowly losing mass through H 2 O dissociation and hydrogen escape (Pope et al. 2012). Other studies suggests an ocean 50% larger 3.0 billion years ago, based on assumptions about the thermal evolution of the Earth and constancy of the continental freeboard, which states that the mean sea-level has always been close to the mean continental level (Korenaga 2013). Ocean salinity was likely similar or slightly (30%) higher than modern values (Marty et al. 2018;Sleep 2010). How a larger ocean would have affected tidal dissipation is unclear. A much faster spinning planet would have had dynamical implications for the atmosphere, for example thinning the latitudinal extent of the Hadley cell among other properties sensitive to the Coriolis force (Held and Hou 2002).
The atmospheric volatile evolution of modern Earth is strongly controlled by plate tectonics, mantle redox and outgassing rates. How outgassing rates scale with geothermal heat flux remains poorly constrained. Subduction carries sediments that contain atmospheric volatiles into the mantle, from where they can be speciated and either stored in the mantle wedge or released back into the atmosphere via volcanism. Mantle redox can control the oxidation state of released volatiles (Trail et al. 2011;Mikhail and Sverjensky 2014) coupled with hydrogen escape following methane photolysis on early Earth (Catling et al. 2001). The oxidation state of the atmosphere is thus coupled to that of the mantle (Nicklas et al. 2019), emphasizing the role of the planetary interior in affecting the planetary state. Oxygen fugacity (fO 2 ) investigations of Precambrian lavas reveal a secular oxidation of the mantle from 3.5 Ga to 1.9 Ga. No single process explains this oxidation, with recycling of altered oceanic crust, venting of oxygen from the core due to inner core crystallization, and convection-driven homogenization of an initially redox-heterogeneous primordial mantle as the proposed end-member contributors (Nicklas et al. 2019).
Predictions of past behavior of atmospheric volatiles, such as C and N have been performed predominantly via box modeling (Hart 1978). Such efforts necessarily require assumptions that become harder to defend in deep time, especially prior to ∼3 Ga. Common first-order assumptions include that the same mechanism of mantle recycling has existed over geological history and that arc and ridge fluxes scale with the heat production of the radioactive elements that fuel Earth's interior. Other important parametrizations include the known luminosity changes of our Sun as stars increase in luminosity as they age (Gough 1981), which contributes to surface temperature and thus weathering rates of C and N . However, the assumed coupled history between tectonic regime and planetary heat flux is far from settled (Lenardic et al. 2016), with suggestions regarding the initiation of modern plate tectonics regime spanning the geological record (Korenaga 2013;Sleep and Schubert 2007).
Observational insights on the thermal evolution of the Earth do exist. Herzberg et al. (2010) computationally predict the MgO and FeO content of the primary magmas responsible for basaltic rocks spanning Earth history. These chemical parameters are a function of mantle temperature. They find a maximum T of ∼1500-1600 • C (compared to a modern value of 1350 • C) at 2.5-3.0 Ga. Mantle recycling with subduction is inferred from 2.7 Ga rocks. Continental rifting has also been proposed as far back as 3.2 Ga (Van Kranendonk et al. 2007). Several plate tectonic models fit these constraints, and the correct one may ultimately depend on advances in knowledge regarding the interaction of the ocean and the mantle over Earth history and on additional geological constraints.
Taken together, a heuristic model can be presented if we assume that the ocean volume has indeed decreased over time to the present value. Based on evidence from ancient zircons, primordial oceans appear to have existed by 4.3 Ga (Ushikubo et al. 2008). Such primordial oceans, formed by the collapse of a steam atmosphere, could have been underlain by a dry mantle (Korenaga 2013). The water would act to weaken the previously stiff lithosphere (akin to present-day Venus), and a dry mantle would lead to high convective stress.
Modern-style subduction was initiated when convective stresses overcame the strength of the lithosphere (plates), but initiation may have been delayed. Distinct geodynamic regimes compared to modern plate tectonics are inferred at 4 Ga from zircon geochemistry (Reimink et al. 2016).
It is thus plausible that subduction processes began as late as the mid-Archean (3.8-2.5 Ga) rather than in the Hadean (4.5-3.8 Ga) (Avice et al. 2017;Parai and Mukhopadhyay 2018;Péron and Moreira 2018).The near-surface material would have then begun to participate in mantle overturn by being dragged down. Such subduction would have started hydrating the mantle, thus increasing the viscosity contrast ( η) across the lithosphere. Because the mantle's internal Raleigh number scales with η 2 , continued subduction would have further promoted convection (Korenaga 2013). Net water influx would eventually subside to reach a steady state as the ocean volume decreased and further ocean loss was limited to hydrogen escape. Initially, internal heating (H ) would have exceeded the mantle convective heatflux Q (H/Q > 1), leading to an increase in mantle temperature until ∼3 Ga where the ratio would have flipped and Earth would then witness a slow cooling to achieve the modern Urey ratio (Ur = H/Q) of ∼0.3. This increase in Urey ratio from the Hadean to the mid-Archean may explain the possible delay in the onset of subduction.

Geological Sources and Sinks of Atmospheric Carbon and Nitrogen
Atmospheric volatiles like C and N cycle through the various planetary reservoirs. Common reservoirs for C include the ocean/atmosphere system, the seafloor, continents, and the mantle (Sleep and Zahnle 2001;Tajika and Matsui 1992). For geological carbon cycle investigations (i.e. "long-term" cycle), biology is often omitted as the corresponding reservoir size of biota is small (Tajika and Matsui 1990), even though fluxes can be substantial (see Sect. 4.2). From the mantle, C can return to the ocean/atmosphere via arc and ridge volcanism. From the ocean/atmosphere, C can return to the mantle via precipitation of carbonate and organic carbon on the seafloor, followed by subduction. Continental weathering, which pulls CO 2 out of the atmosphere through the formation of bicarbonate ions, is balanced as continents "scrape" sediments off the seafloor during subduction. This process is called accretion. The geological carbon cycle is important as a "planetary thermostat" in regulating planetary surface temperature via the greenhouse effect driven by p CO 2 . Potentially higher levels of atmospheric C on the early Earth would have been driven by a higher degassing flux, itself driven by hotter mantle temperatures. However, this higher flux was perhaps balanced to some extent by faster plate velocities and corresponding faster subduction rates resulting from the higher heat production.
The N cycle can be assessed using a similar framework, yet N cycle studies are in their infancy compared with the abundance of work on the C cycle. A major difference between the modern and the ancient N cycle is the oxidized nature of modern Earth. For modern Earth, a quantitative flux balance can be written (Som et al. 2016). The total N source flux (0.33 ± 0.08 Tmol/year), composed of volcanic outgassing (0.18 ± 0.07 Tmol/year) and oxidative weathering (0.15 ± 0.03) balances the total N sink flux composed entirely of N burial (0.4 ± 0.2 Tmol/year). The subducted flux can essentially be ignored as it is within the uncertainty (0.094 ± 0.015 Tmol/year).
On the ancient Earth, oxygen was essentially absent from the environment (Reinhard et al. 2016). Given the flux balance above, oxidative weathering can thus be neglected, dropping the N 2 source flux to 50% of its present value, if all other fluxes remained constant (Som et al. 2016). At steady state, the global N sink would balance the source flux and be likewise diminished. Assuming that the atmospheric N reservoir is proportional to source and sink fluxes, a 50% reduction in the N source would leave the atmospheric reservoir depleted by 50% compared to modern values. Given that the modern air pressure is composed of 0.8 bar N 2 , and 0.2 bar O 2 , the considerations above (p N 2 of 50% of 0.8 bar) predict an Archean pressure of 0.4 bar. While this framework is first-order and neglecting potential non-linearities in the flux-reservoir relationship, low air pressure has been corroborated by independent constraints from the Archean rock record Endo et al. 2019;Som et al. 2012Som et al. , 2016. Additional considerations for the Archean include the existence of ammonium in the ocean as a sink for N via ion replacement in clays that are eventually subducted (Stüeken et al. 2016b), and redox controls on N 2 volcanic outgassing (Mikhail and Sverjensky 2014).
Taken together, a heuristic model of N evolution can be presented. The rocky Earth started with a dense CO 2 /H 2 O atmosphere with perhaps lesser amounts of N 2 (Sleep 2010;Zahnle et al. 2010). H 2 O condensed out to form the oceans, and life perhaps took a foot-hold early (Sect. 4). The growing biomass soon outpaced the ability of abiotically produced fixed nitrogen to provide the biologically available nitrogen needed for biochemistry (Navarro-González et al. 2001a, 2001b. Under this environmental pressure, and assuming no other limiting nutrients (Zerkle 2018), biology capable of undergoing nitrogen fixation would be selected for. Indeed, nitrogen fixation is known to be an ancient metabolic pathway (Raymond et al. 2004;Sect. 4.3). In the absence of oxygen, ammonium rather than nitrate would have been the dominant nitrogen species in the ocean . Ionic substitution with potassium in clay minerals (NH + 4 ↔ K + ) within sedimentary pore waters would have led to burial and eventual subduction of N (Som et al. 2016;Stüeken et al. 2016b). At steady state, N burial may have balanced the volcanic flux. With the advent of oxygen in the environment, new processes enabled the atmospheric N reservoir to increase to modern values. Oxidative weathering would have introduced a new source of N into the atmosphere, and subducted oxidized sediments may have changed the redox state of the mantle wedge and further enabled N 2 outgassing (Mikhail and Sverjensky 2014). Advances in N-cycle modeling (Johnson and Goldblatt 2018) coupled with the development of additional geological markers of air density (Goosmann et al. 2018;Silverman et al. 2018) will test this model.

Biological Imprints on the Early Atmosphere
Geological and photochemical processes set the stage for habitable conditions (Sects. 2, 3, 5), but the emergence of life likely had a significant impact on volatile inventories of the atmosphere and solid Earth with implications for global climate and habitability (e.g., Lenton 1998). Apart from the noble gases, all atmospheric constituents, including N 2 and O 2 , as well as the major greenhouse gases CO 2 , CH 4 and N 2 O, have biological sources and sinks. Determining the antiquity and evolution of these biological fluxes-against a backdrop of abiotic processes-is therefore important for reconstructing the habitability of the early Earth as an analogue for other worlds.

The Surficial Carbon Cycle and the Role of Prebiotic Reactions
To first order, the major fluxes even in the modern carbon cycle are not directly dependent on biology. Atmospheric carbon is sourced from volcanic outgassing of CO 2 , and it is ultimately removed by the burial of carbonate rocks. Burial of organic carbon constitutes a relatively minor fraction of around 15-20% (Mason et al. 2017). Although many carbonate deposits today are biogenic in origin, it is conceivable that they would also form on an abiotic planet once carbonate minerals reach saturation in seawater. Indeed, aragonitic crystal fans from the Archean rock record have been taken as evidence for widespread abiotic carbonate precipitation in the early ocean under a CO 2 -rich atmosphere (Grotzinger and Kasting 1993). However, biological activity still has a significant effect on the carbon cycle, because it changes the redox state of gaseous and sedimentary carbon. Autotrophic organisms convert CO 2 with a +IV oxidation state into organic matter or methane (CH 4 ) with oxidation states of 0 and −IV, respectively. Burial of organic matter in sediments thus removes a reductant from the Earth's surface, rendering surface environments overall more oxidized (Catling 2014b). This process may have contributed to the rise of atmospheric O 2 around the Archean-Proterozoic boundary, and it may have been the major driver of later oxygenation events in the Neoproterozoic and Paleozoic (Rothman et al. 2003;Husson and Peters 2017;Lenton et al. 2014;Butterfield 2018). In contrast, the production of biogenic methane injects a reductant into the atmosphere, which may have slowed down the accumulation of O 2  while also acting as a strong greenhouse gas. On the Archean Earth, where the Sun was fainter, biogenic CH 4 production may have been important for maintaining a warm climate (Haqq-Misra et al. 2008;Arney et al. 2016). The onset of biological carbon burial (reductant removal) as well as the biological conversion of carbon into CH 4 (reductant liberation and greenhouse gas production) were thus probably two key processes that shaped the long-term evolution of our planet.
Prior to the origin of life, some abiotic process would have converted CO 2 into reduced organic carbon and methane. In fact, such abiotic sources of reduced carbon were probably essential for prebiotic chemical reactions that ultimately culminated in the rise of autotrophic cells. The major energy sources for the abiotic reduction of CO 2 were likely geothermal heat, UV radiation, and lightning reactions. Geothermal settings have been shown to favor the production of methane, longer-chain alkanes and more complex organic molecules in both experiments and natural environments through so-called Fischer-Tropsch-type reactions (Cody 2004;Russell and Martin 2004;McCollom and Seewald 2007;Proskurowski et al. 2008). Hydrogen gas produced by serpentinization (i.e., aqueous alteration of fresh olivine and pyroxene) acts as a reductant, while metallic minerals such as sulfides, magnetite or elemental iron and nickel act as reaction catalysts. In atmospheric reactions, such catalysts are not needed, as lightning and UV radiation provide sufficient energy to produce organic carbon molecules from CO 2 and CH 4 . The organic carbon products of UV reactions are HCN and CH 2 O (Zahnle 1986;Deamer 2007;Cleaves 2008), while lightning reactions have been reported to generate a variety of organic compounds, including amino acids and nucleobases (Miller 1953;Ferus et al. 2017). The magnitude of these abiotic sources of reduced organic carbon as well as its stability in the early ocean on the prebiotic Earth are not well constrained. However, it is conceivable that geothermally catalyzed reactions were relatively more abundant than today, because Earth's earliest crust was likely more mafic (Dhuime et al. 2015;Tang et al. 2016), leading to more widespread serpentinization (Smit and Mezger 2017) with the potential to produce large amounts of reduced carbon molecules.

The Emergence and Early Diversity of Biological CO 2 Fixation Pathways
Although some form of abiotic CO 2 reduction was undoubtedly present on the early Earth, the emergence of autotrophic life is evidence that these abiotic sources of reduced carbon were not large enough to sustain a significant biosphere. Hence the rise and radiation of autotrophic organisms probably caused a sharp increase in the burial flux of organic carbon. The most widely cited record of biological CO 2 fixation is archived in carbon isotope ratios of sedimentary rocks (Schidlowski 2001). Enzymes favor 12 C over 13 C in specific ratios that are characteristic of their respective carbon fixation pathway. The most widespread pathway today is the Calvin cycle, catalyzed by the enzyme Rubisco, and 12 C/ 13 C ratios of ancient organic matter suggest that this metabolism may date back to the early Archean (Nisbet et al. 2007). The oldest (though controversial, see e.g. Whitehouse et al. 2019) records of the Calvin cycle go back to more than 3.9 billion years ago (Bell et al. 2015;Tashiro et al. 2017). These ancient records are controversial because carbon isotope fractionations can also be produced by abiotic processes that generate organic matter, such as Fischer-Tropsch-type reactions (McCollom and Seewald 2006). More widely accepted evidence has been documented from around 3.5 Ga, where it coincides with occurrences of stromatolites and biogenic sulphur isotope fractionation (Buick 2007). Rocks of this age also preserve the oldest evidence of biological CH 4 production (Ueno et al. 2006;Flannery et al. 2018;Schopf et al. 2018). Methanogenesis is driven by the acetyl-CoA pathway, and it is characterized by large isotopic fractionations imparted on the resulting CH 4 and biomass (House et al. 2003). Isotopically depleted CH 4 in gas inclusions in cherts from >3.46 Ga (Ueno et al. 2006) and isotopically light kerogen in similarly aged rocks (3.43-3.47 Ga, Flannery et al. 2018;Schopf et al. 2018) thus indicate that the Archean biosphere also contributed to the production of a major greenhouse gas. Phylogenetic studies suggest that the acetyl-CoA pathway is the most ancient CO 2 fixation pathway (Fuchs 2011). Importantly, several enzymes involved in methanogenesis contain metallic catalysts similar to those that are considered to be important in driving abiotic Fischer-Tropsch-type reactions in hydrothermal settings (Russell and Martin 2004;Stüeken et al. 2013). This correlation may point to a hydrothermal origin of autotrophy on the early Earth.
By the Mesoarchean (3.2-2.8 Ga), evidence of life spans from the deep sea to continental lakes and soils (e.g. Rasmussen 2000;Nabhan et al. 2016;Homann et al. 2018;, suggesting that the biosphere was now diverse enough to colonize a range of environments and large enough to leave a recognizable imprint in the geologic record. Biological CH 4 production at this time has been documented in particular from non-marine and brackish environments . The Neoarchean perhaps saw an expansion of biological methane production as suggested by widespread occurrences of isotopically reduced organic carbon (Thomazo et al. 2009a(Thomazo et al. , 2009bZerkle et al. 2012; Sect. 7).
The lightest values are found in shallow marine and non-marine environments (Eigenbrode and Freeman 2006;Flannery et al. 2016;, which may reflect biological consumption and oxidation of CH 4 by methanotrophic organisms in a world that experienced increasing local (Lalonde and Konhauser 2015;Sumner et al. 2015) and/or temporal Koehler et al. 2018) oxygenation of surface environments by growing populations of oxygenic phototrophs. Biological and geological feedbacks associated with these processes ultimately led to the Great Oxidation Event (GOE) in the Paleoproterozoic (Lyons et al. 2014).

The Nitrogen Cycle and Its Abiotic Roots
Like carbon, nitrogen is a major constituent of all life on Earth. Its largest reservoir at the Earth's surface is atmospheric N 2 gas, which is relatively inert. Roughly 15% of cultured prokaryotic organisms are capable of breaking the N 2 triple bond with a so-called nitrogenase enzyme (Dos Santos et al. 2012). In this process, termed biological N 2 fixation, the end product is ammonium (NH + 4 ), the most reduced form of nitrogen. Today, the estimated global marine N 2 fixation rate is on the order of 10 11 kg/yr (Wang et al. 2019). About half as much is fixed by terrestrial ecosystems (Vitousek et al. 2013), some of which gets transported to the ocean by rivers. However, only about 1-2% of this biologically fixed nitrogen is buried in sediments (Stüeken et al. 2016b). The majority is recycled through remineralization of biomass to nitrate (NO − 3 ), which is subsequently reduced back to N 2 in suboxic sedimentary pore waters and marine oxygen minimum zones (Kritee et al. 2012). Longterm removal of nitrogen from the atmosphere is therefore directly dependent on biological productivity and the efficiency of biomass burial. Within sediments, buried biomass slowly breaks down and releases ammonium into pore waters, where it can build up to millimolar concentrations (e.g., Boudreau and Canfield 1988). Ammonium has the same charge and roughly the same size as K + and can therefore partition into diagenetic potassium-rich clay minerals, such as illite (Schroeder and McLain 1998). During subsequent lithification, metamorphism and suduction, some of this silicate-bound ammonium can be stored in the continental crust and the Earth's mantle (Palya et al. 2011). Estimates suggest that the continental crust contains about half as much nitrogen as the modern atmosphere, and most of this crustal nitrogen is stored in (meta-)sedimentary rocks (Johnson and Goldblatt 2015). The contribution of biomass burial to the nitrogen reservoir in the mantle is difficult to estimate (Zerkle and Mikhail 2017), but it seems likely that biological activity has removed a significant amount of N 2 from the atmosphere over time.
Although biological N 2 fixation constitutes the major flux of nitrogen to seawater today, there are significant abiotic fixation fluxes, which would have dominated the nitrogen cycle prior to the emergence of life. The most important abiotic fluxes are hydrothermal reduction of N 2 to NH + 4 (Brandes et al. 1998;Smirnov et al. 2008), photochemical HCN production by UV radiation (Zahnle 1986) and volcanically or lightning-driven conversion of N 2 to nitrogen oxides (mainly NO and N 2 O) Navarro-González et al. 1998;Mather et al. 2004), followed by reduction of nitrogen oxides to NH + 4 with dissolved Fe 2+ (Summers and Chang 1993). The magnitude of the various abiotic sources of fixed nitrogen on the early Earth has been appraised in computational models and laboratory experiments (reviewed by Stüeken et al. 2016a). By some estimates, these fluxes could have approached the modern biological N 2 fixation rate and may thus have been sufficient for driving the early biosphere and for modulating atmospheric N 2 pressures over long periods of time. However, the estimated global fluxes are necessarily based on parameters that are very poorly constrained, such as the rate of lightning, hydrothermal circulation, or oxidative volcanism on the early Earth. It is therefore equally likely that abiotic N 2 fixation flux was insufficient to sustain a significant biosphere, which would have favored an early origin of the nitrogenase enzyme.

The Emergence of Nitrogenase and Aerobic Nitrogen Metabolisms
Early phylogenetic reconstructions placed the origin of biological N 2 fixation into the Paleoproterozoic, around 2 Ga (Boyd et al. 2011). This conclusion was supported by the observation that most nitrogenases strictly require molybdenum as a catalyst (McGlynn et al. 2012), because geochemical data suggest that molybdenum was scarce in seawater until after the Paleoproterozoic Great Oxidation Event (∼2.3 Ga, Anbar 2008; Scott et al. 2008). However, more recent phylogenetic analyses point to a much earlier origin of nitrogenase, possibly going back as far as the last universal common ancestor (LUCA), which probably lived in the Hadean or early Archean (Weiss et al. 2016). This inference can be reconciled with the strict requirement for molybdenum if hydrothermal source fluxes are taken into account. Off-axis hydrothermal vents contribute around 13% of the modern marine molybdenum budget (Wheat et al. 2002), and data from a hydrothermally altered Archean seafloor (Sulphur Springs Group, 3.3 Ga) show that hydrothermal fluids actively leached molybdenum from volcanic rocks at that time (Huston et al. 2001). Furthermore, culturing studies have demonstrated that biological N 2 fixation can be maintained down to around 5 nM of molybdenum (Zerkle et al. 2006;Glass et al. 2010), which is within the estimated range for the early ocean (1-10 nM; Reinhard et al. 2013). It is therefore likely that molybdenum was available in sufficient quantities, especially in the vicinity of hydrothermal settings. Importantly, the nitrogenase enzyme also contains an iron-sulfur cluster as well as the only known carbide atom in modern biology (Preiner et al. 2019). Both iron-sulfur clusters and carbides are produced in hydrothermal environments, which may indicate that this enzyme originated in a hydrothermal environment, possibly by modification of a geochemical process.
In support of this model, biological N 2 fixation has been documented from thermophilic methanogenic Archaea that are deeply rooted in the tree of life (Mehta and Baross 2006). Enzymatic N 2 and CO 2 fixation may thus have originated in similar environmental settings early in Earth's history.
The oldest geochemical evidence of biological N 2 fixation in the form of nitrogen isotope ratios goes back to 3.2 Ga (Stüeken et al. 2015). The nitrogenase enzyme only imparts a small isotopic fractionation during the conversion of N 2 to NH + 4 such that sedimentary 15 N/ 14 N ratios close to that of atmospheric N 2 are indirect evidence for burial of biomass that depended on this metabolism. Abiotic processes such as lightning and photochemical reactions seem to impart large negative fractionations (Kuga et al. 2014;Moore 1977) that are inconsistent with this record. Well-preserved sedimentary rocks throughout the Mesoand Neoarchean preserve signatures of biological N 2 fixation in a range of environmental settings (Stüeken et al. 2015;Koehler et al. 2019;Ossa Ossa et al. 2019). Such geochemical records preserved in bulk rocks are unlikely to capture rare metabolisms that are only expressed by a small fraction of the ecosystem. Hence these data collectively indicate that a large proportion of the Archean biosphere had become independent from abiotic sources of fixed nitrogen. The drawdown of atmospheric N 2 (Som et al. 2016) would therefore have been dependent on biological productivity and biomass burial, which was in turn perhaps limited by low supplies of phosphorus (Kipp and Stüeken 2017;. The magnitude of the nitrogen flux from the atmosphere into geological archives via biomass burial also depends on the efficiency of remineralization, which ultimately returns nitrogen back to the atmosphere. Ferric iron can convert ammonium to N 2 (Yang et al. 2012), but in the Archean this metabolism would have been restricted to shelf environments where ferric iron may have been produced by photoferrotrophs (Crowe et al. 2008). Conversion of ammonium to nitrate (i.e. nitrification) above pH 6.5 requires O 2 (Stüeken et al. 2016a). Hence the efficient production of nitrate (which can subsequently be reduced to N 2 by denitrifying organisms) would have required the emergence of oxygenic photosynthesis. Isotopic evidence of at least locally aerobic biological nitrogen cycling dates back to around 2.66 Ga (Godfrey and Falkowski 2009;Koehler et al. 2018) and possibly earlier (Delarue et al. 2018;Homann et al. 2018). It has been proposed that the rise of coupled nitrificationdenitrification would have induced a nitrogen crisis, because it leads to a net nitrogen loss from the ocean (Fennel et al. 2005). However, increasing supplies of molybdenum with the onset of oxidative weathering (Stüeken et al. 2012) would probably also have allowed for higher rates of biological N 2 fixation to offset the loss of fixed nitrogen from the water column.
Regarding atmospheric evolution, the rise of nitrification-denitrification would probably not have had a significant effect on net nitrogen burial in marine sediments, because, as noted above, the nitrogen burial flux is primarily controlled by biomass burial. The Archean ocean prior to the onset of nitrification was probably ammonium-poor, prohibiting efficient abiotic nitrogen burial through adsorption on clay minerals (Stüeken 2016). Biological N 2 fixation is an energetically costly process, and hence organisms are unlikely to have built up an excess reservoir of ammonium in Archean seawater. However, the expansion of ammonium oxidation around the GOE would probably have accelerated the rate of oxidative ammonium weathering on land (Stüeken et al. 2016b), which constitutes a significant flux of nitrogen today (Houlton et al. 2018). Nitrification-denitrification of this continental ammonium reservoir may have contributed to increasing atmospheric N 2 levels at that time (Stüeken et al. 2016b). It is therefore conceivable that Earth's biosphere has had a significant impact on not just atmospheric composition but also on total air pressure over geologic timescales (Som et al. 2016).

Stellar Evolution and Atmospheric Erosion
In addition to the geological and biological processes discussed above, the evolution of solar radiative properties would have had a significant effect on the evolution of Earth's atmosphere. While the evolution of the solar bolometric luminosity over time is well known (e.g. Sackmann and Boothroyd 2002), the solar XUV evolution and the magnetic activity of the Sun are less well understood. By the time the Sun had developed into a main sequence star, its bolometric luminosity was only about 70% of the present-day value but increased over time whereas the magnetic and XUV activity (i.e. the x-ray and EUV flux activity) steadily declined from the beginning to the present-day (e.g. Ribas et al. 2005;Guedel 2007;Füri et al. 2020, this issue). Recent studies of the magnetic and XUV evolution of solar-like stars (Johnstone et al. 2015a,b;Tu et al. 2015) found that these are strongly linked to the star's rotational evolution. As the rotation slows down, the XUV flux and the mass loss of a star also decline. After about a billion years, all stars converge towards one rotational track, but their initial rotational speeds can be very different, with the fastest rotators having the highest XUV fluxes and stellar mass losses and the slowest rotators the lowest, respectively (Johnstone et al. 2015a,b;Tu et al. 2015). For example, during the late Hadean eon, the XUV flux from a slow rotating Sun would have been about 15 times the present-day value, whereas for a fast rotating Sun it would have been up to 150 times as high as of today. Even though it is not yet entirely known whether the Sun was a slow, moderate or fast rotator, the latter seems unlikely (e.g. Lammer et al. 2020). Understanding the Sun's rotational evolution is crucial for reconstructing the evolution of the terrestrial atmosphere since higher XUV fluxes can have profound effects on atmospheric escape. In addition, atmospheres of different compositions respond very differently to an increase in solar XUV.
Several studies (Tian et al. 2008a,b;) have shown that a nitrogendominated atmosphere (with a present-day N 2 -CO 2 mixing ratio) adiabatically expands when the solar XUV flux exceeds a certain threshold (see Fig. 2), which is typically around 5-6 times the present-day value. This effect is accompanied by fast atmospheric bulk flow velocities that start to approach the escape velocity for values around 10 times the presentday XUV flux. At that point, the atmosphere transitions into hydrodynamic escape. Under such high XUV fluxes the exobase of a nitrogen-dominated atmosphere extends several Earth radii above the surface, thus reaching above the magnetopause standoff-distance (Lichtenegger et al. 2010). In addition to the strong thermal losses (Tian et al. 2008a,b), such an atmosphere would be strongly susceptible to non-thermal escape processes like ion pick-up (Lichtenegger et al. 2010;, facilitated by a much stronger early solar wind (Johnstone et al. 2015a). In fact, even without thermal escape, such a nitrogendominated atmosphere would have been lost within a few million years (Lichtenegger et al. 2010). A more recent study (Johnstone et al. 2019) has additionally shown that such atmospheres would also quickly be lost thermally around active G-type stars comparable to the young Sun during the Hadean and early Archean eons. A nitrogen-dominated atmosphere was thus unlikely to survive the early stages of the solar system. However, there is no sign Fig. 2 Different thermospheric temperature profiles and corresponding exobase levels for 1, 7, 10 and 20 times the present-day XUV flux for a nitrogen-dominated atmosphere in red (as for the present-day Earth) (Tian et al. 2008a) and for a Venus-like atmosphere in green with 96% CO 2 (Kulikov et al. 2006). Due to the efficient infrared-cooling of CO 2 in the thermosphere of Venus exobase temperatures and levels are significantly lower than for the nitrogen-dominated atmosphere. The grey shaded area represents potential ranges for the terrestrial paleo-magnetosphere at the late Hadean eon ). Figure adopted from Lammer et al. (2008) of such escape in the terrestrial 14 N/ 15 N isotopic record. The lighter isotope should have escaped more easily than the heavier one if a strong atmospheric escape took place in the past (Cartigny and Marty 2013; Füri and Marty 2015; Avice and Marty 2020, this issue). The small 14 N/ 15 N-disequilibrium between the atmosphere and the terrestrial mantle compared to, for example, Mars indicates that only a very small fraction of nitrogen escaped over the history of the Earth , and this escape process likely ended before 3.5 Ga, as isotopic data show nearly constant values since that time . So what happened to the atmosphere? A solution might be the following.
As briefly mentioned in Sect. 3, atmospheres with different compositions respond very differently to high XUV fluxes. A higher atmospheric partial pressure of CO 2 , for instance, can prevent the exobase from expanding dramatically (Fig. 2), because CO 2 serves as an infrared cooler in the upper atmosphere (Kulikov et al. 2007;Lammer et al. 2008;. The N 2 -CO 2 -mixing ratio might therefore be crucial for the survival of the early terrestrial atmosphere. It has indeed long been suggested that the CO 2 partial pressure during the Hadean and early Archean was significantly higher than today (e.g. Holland 1984; Berner and Kothavala 2001;Dauphas and Kasting 2011;Reinhard and Planavsky 2011;Goldblatt and Zahnle 2011) with values of up to about 100-1000 times the Present Atmospheric Level (PAL) (Hessler et al. 2004). A more recent study (Kanzaki and Murakami 2015) has even shown that around 2.7 billion years ago the CO 2 partial pressure in the atmosphere was as high as 80-100 PAL. These numbers make it plausible that high CO 2 levels limited N 2 escape by the mechanism described above. It is, however, not yet entirely clear which mixing ratios could have prevented an atmosphere with a significant of N 2 from escaping to space. A later build-up of the Earth's nitrogen-dominated atmosphere might be an alternative solution to this paradox .
There is one geological marker that indicates significant atmospheric loss of hydrogen from the terrestrial atmosphere: the fractionation of the heavy Xe-isotopes (e.g. Srinivasan 1976;Zahnle et al. 1990;Pepin 2000;Pujol et al. 2009Pujol et al. , 2011Zahnle et al. 2019;Avice and Marty 2020, this issue). The underlying fractionation process is expected to be mass-dependent dragging of Xe + by hydrodynamically escaping H + due to a strong repulsive Coulomb interaction between these ions, which preferentially happens via the polar cusps (Zahnle et al. 2019). Since Xe is easily ionized compared to other elements including hydrogen, this process can lead to strong Xe + escape rates while the escape of lighter species such as N and other noble gases (Ne, Ar, Kr,  is not significant. For this process to be efficient, however, high XUV fluxes, probably >10 times the present-day value, and a significant hydrogen mixing ratio in the upper atmosphere might be needed (Zahnle et al. 2019). It is, however, not entirely clear how the atmospheric composition influences the escape of Xe; Zahnle et al. (2019) did not include atmospheric N 2 into their model, whose total pressure might influence the escape process of the heavy Xe + .
Fractionation of Xe isotopes appears to have ended towards the end of the Archean (Pujol et al. 2011), which indicates a complex interplay of solar XUV flux, escape of hydrogen, atmospheric composition and the terrestrial magnetic field. Understanding the "missing Xenon" paradox (Ozima and Podosek 1983)-in particular together with the small terrestrial 14 N/ 15 N-disequilibrium-is therefore a crucial component for the reproduction of not only the terrestrial atmospheric evolution but also of the XUV flux evolution and potential bursts and flares of the young Sun.

Evidence and Mechanisms of Photochemistry in Earth's Anoxic Atmosphere
Clues to paleo-environmental conditions are left behind in Earth's sedimentary rock record. The ancient sediments that have somehow survived the gauntlet of tectonic recycling can be investigated for traces they record about the oceanic environment they were deposited in. Various proxies have been developed to constrain the temperature and chemistry of the originating waters, along with quantifying the disequilibrium imparted by the metabolisms of ancient life (Sect. 4). Unfortunately, Earth's sedimentary record is effectively absent for the first billion years of Earth's history and somewhat sparse during the second billion. As a result, the paleo-environments that we have to interrogate do not constrain Earth's tumultuous early days but are limited to post-accretion/heavy bombardment/blow-off conditions known as the "secondary atmosphere" (see . This term refers to what most Earth Scientists consider as simply the atmosphere-the envelope of gas derived primarily from volcanic outgassing subject to intense biological meddling. Photochemistry-the interaction of solar light and absorption/scattering/transformation of input gases-sets the bulk composition of the atmosphere and the UV environment at the surface, both of which play strong roles in climate and planetary habitability. Understanding the bulk composition of the atmosphere from ancient ocean sediments is a frontier interdisciplinary challenge. As atmospheric gases are generally not preserved directly by the rock record, various geochemical measurements have been proposed as proxy for atmospheric information. Proxies are developed from studying modern analog processes that generally involve quantitative involvement of atmospheric gases, but most of these processes are indirect (e.g., via chemical weathering) and can suffer from non-uniqueness (e.g., oxidation can occur in the water column or sediments without being atmospheric). The only direct proxies for atmospheric chemistry that exist are mass-independent isotope fractionations, or MIF, which originate primarily in gas-phase photochemical reactions (Thiemens 2006). MIF signals are known to arise in ozone formation (Thiemens et al. 2012), and via various photochemical reactions involving sulfur (Ono 2017) and mercury (Blum et al. 2014). MIF has additional strength as atmospheric proxy given that these anomalous isotopic signals persist through most of the transformations that occur during biogeochemical cycling prior to deposition into the sediments. These atmospheric signatures are therefore relatively easy to transfer and store in the permanent rock record, where they will remain unless subjected to significant metamorphic temperatures. While MIF in O, S, and Hg have many interesting roles in modern and paleoclimates, this section will focus on reviewing MIF-S, which has the most data relevant to the first two billion years of Earth history.

Discovery and Expansion of the MIF-S Dataset
Sulfur exists in multiple redox states in atmospheric and marine environments but is preserved in the rock record in two distinct forms-sulfide and sulfate. MIF-S (quantified simply as 33 S = δ 33 S-0.52δ 34 S and 36 S = δ 36 S-1.9δ 34 S) measurements of opposing magnitudes were discovered in both sulfides and sulfates in the year 2000. In the subsequent 19 years, the global database of MIF-S measurements has grown substantially revealing both temporal and stratigraphic variations, with substantial reviews in 2011 (Johnston 2011) and 2017 (Ono 2017) (see also Fig. 3). Like nearly every other geochemical measurement, the ability to measure the signal has to date outpaced our ability to interpret it. The most profound interpretation that has been derived from MIF-S is that the atmosphere prior to about 2.3 billion years ago was devoid of oxygen gas, which effectively resolved a century-old debate. Critically, this interpretation requires only the mere presence of MIF-S. As the data also show substantial variations in magnitude, sign, facies, and derived slopes, there is significant hope that additional constraints about the specific gases in the reducing atmosphere can to be determined from this record.

Interpreting Sulfur MIF
The primary interpretation of a reducing atmosphere stemmed from three foundational papers which combined data, experiments, and theory and collectively demonstrated that MIF-S could not be exported from atmospheres with more than 1 ppm of O 2 . Farquhar et al. (2000) presented the first data and hypothesized a role for reducing atmospheric chemistry. Follow-on experiments irradiated SO 2 gas and quantified MIF-S signals in the elemental sulfur and residual SO 2 (Farquhar et al. 2001). The magnitudes, signs, and 36 S/ 33 S slope of the measured signal changed with wavelength of light and were best explained by SO 2 photolysis in the absence of O 2 . Pavlov and Kasting (2002) used a 1-D photochemical model and showed that MIF-S propagates through all atmospheric S species, highlighted the role that multiple exit channels play in signal preservation, and demonstrated that atmospheres with more than 1 ppm p O 2 will turn all input sulfur to sulfate, so that MIF-S preservation should only occur in reducing atmospheres. The most substantial challenge to the interpretation was raised by Ohmoto et al. (2006) who argued that the low magnitudes of 33 S seen between 3.2-2.7 Ga might reflect mass conservation effects in an oxic atmosphere. However,  demonstrated using 36 S/ 33 S slopes that these signals unequivocally preserve MIF-S, even though the magnitudes are low.

Modern Updates to the Initial Interpretation
Follow-on work has confirmed the primary interpretation of a reducing early atmosphere, although the specific mechanism and theory behind it have changed, and are still undergoing revision (Ono 2017; Sect. 7) Atmospheric exit channels remain a key part of the story, but the mechanism is no longer thought to be solely SO 2 photolysis. While a single dominant source mechanism can produce variable magnitudes of MIF-S depending on the exit channels , subsequent processing in the oceans would likely reduce magnitudes of signatures that are preserved in various facies (Halevy 2013). A current consensus view is that multiple mechanisms involving sulfur photochemistry may be integrated into the rock record. This is also true of the experimental work done to constrain the relevant fractionation factors.

SO 2 Photolysis Experiments
Experiments following on from Farquhar et al. (2001), revealed that SO 2 photolysis with broadband lamps displayed varying sulfur MIF magnitudes with SO 2 and total pressure (Masterson et al. 2011;Whitehill and Ono 2012;Endo et al. 2016). Interpretation of experimental results to the natural atmosphere are complicated by self-shielding conditions in the chamber experiments, and multiple important gas mixtures remain to be tested under atmospherically relevant conditions. Hints towards understanding the mechanism were provided by measurements of SO 2 absorption cross-section (Danielache et al. 2008;Endo et al. 2015), although these measurements did not resolve the potential effect of hyper-fine structure (Stark et al. 1999;Lyons 2009). Recent work has untangled the role of background pressure from self-shielding (Endo et al. 2019), and implies that pressure broadening in the terrestrial atmosphere may remove the need to consider the SO 2 fine-structure. Overall, SO 2 photolysis has been unequivocally shown to produce MIF-S, but the magnitude of 33 S produced in low pressure atmospheres appears to be smaller than the observed data, and a consensus viewpoint is that another mechanism in addition to SO 2 photolysis is contributing to the observed signal.

Other Mechanisms Known to Produce MIF-S
MIF-S mechanisms have become quite a bit more complicated than the corresponding case of MIF-O, for which only one atmospheric mechanism has been revealed in 40 years of study. MIF-S has been demonstrated to arise from CS 2 photolysis (Zmolek et al. 1999), and SO 2 photodeexcitation (Whitehill and Ono 2012). Theory supports MIF-S formation in SO 2 photoexcitation (Danielache et al. 2012), SO photolysis (Danielache et al. 2014) and in the polymerization of elemental sulfur (Babikov 2017;Harman et al. 2018b). There are a number of complications involved with extrapolating from experimental and theoretical results to natural atmospheric conditions, as multiple mechanisms are likely to be involved during and experiment. Extrapolation of fractionation factors to natural atmospheric conditions also remains challenging. Recently theorized effects in sulfur polymerization can create large magnitude MIF-S signals but need experimental verification.

What Is Needed to Move Forward?
It is clear that the extensive MIF-S dataset contains far more information than a single on/off switch for O 2 (Ono 2017). There are changes in the sulfur MIF record between the Paleo-, Meso-, and Neo-Archean that are best described as changes in the transparency to UV driven by varying gas compositions at these times. In addition, stratigraphic changes in MIF-S hint at time-dependent shifts in atmospheric chemistry on shorter timescales (Zerkle et al. 2012;Izon et al. 2015Izon et al. , 2017. Quantitative constraints on the composition of reducing atmosphere appears feasible given the quality of the observed record, but all hinges on identifying and quantifying all of the anomalous fractionation factors which emerge from sulfur gas phase chemistry. It is not clear that this has occurred yet-it may have, but there certainly exists the possibility that one or more major processes have yet to be uncovered. Once all fractionation factors are identified and quantified, a number of challenges remain. This include a full calibration and validation of the modern sulfur MIF record generated by stratospheric volcanic eruptions as recorded in ice cores (Savarino et al. 2003). Recent methodological advances have enabled sampling of 33 S at ∼ monthly resolution (Burke et al. 2019) providing a robust dataset for exploration with a time-dependent photochemical plume model, although detection of 36 S at small sample size remains a frontier challenge. Once calibrated against the modern (and all experimental work), photochemical modelling could be undertaken with a full Monte-Carlo exploration over the unknown Archean parameter space, with the goal of identifying which background atmospheres reproduce, for example, the Neoarchean reference array of δ 34 S/ 33 S ∼ 1 and 36 S/ 33 S ∼ −0.9. Monte-Carlo uncertainty propagation coupled to sensitivity analysis could be used to identify, measure, and thus reduce uncertainty in any reactions, crosssections, or other internal model parameterizations which contribute significant uncertainty to MIF-S prediction (Hébrard et al. 2009). An ultimate goal would be an inverse modelone in which the data itself are allowed to constrain a Monte-Carlo parameter search-which could identify not only the portions of unknown parameter space which can match the data, but also constrain their likelihood. In summary, interpretation of atmospheric composition from sulfur MIF measurements and experiments remains a challenging frontier but is ultimately a surmountable problem.

The Negative δ 13 C org Anomaly in the Late Archean: "Global
Methanotrophy"?
Stable isotopes of sedimentary rocks reflect biogeochemical cycling and its evolution through time (Fig. 3). Since the pioneering works of the Precambrian Palaeontology Research Group (Schidlowski et al. 1983;Hayes 1983), it has been known that carbon isotopes of sedimentary carbonate (δ 13 C carb ) and organic matter (δ 13 C org ) show an isotopic difference of about 25h on average since at least 3.5 billion years ago (Ga). This observed isotopic fractionation is primarily derived from biological CO 2 fixation: autotrophic organisms preferentially convert 12 C from mantle-derived CO 2 (∼ −5h) into organic carbon (−25h), pushing the remaining inorganic carbon, which is deposited as carbonate, to heavier values (∼0h) relative to the starting composition. This simplest explanation may not be applicable for the late Archean record from 2.7 to 2.5 Ga, when the organic carbon exhibit large 13 C-depletion below −40h (Fig. 1). Apart from localized occurrences, such a large depletion over extended temporal and spatial scales is not observed outside of the late Archean time window, suggesting a distinct biogeochemical carbon cycling during in the period. A leading interpretation of these data is the "global methanotrophy" hypothesis" (Hayes 1994).

Fig. 3
Stable carbon and sulfur isotopes through time. In the upper panel, blue and orange symbols show carbonate carbon (δ 13 C org ) and organic carbon (δ 13 C carb ) isotopes in sedimentary rocks, respectively. Lower panel shows Sulfur Mass Independent Fractionation ( 33 S) of sedimentary sulfide and sulfate measured by bulk rock chemical extraction methods. In the late Archean from 2.7 to 2.5 Ga, both the δ 3 C org and 33 S values show larger variation including negative δ 13 C below −40h The highly negative δ 13 C org are unlikely to have been produced solely by photosynthesis and other autotrophic carbon fixation pathways, which exhibits fractionations less than 40h against CO 2 (e.g., House et al. 2003). Instead, these values are consistent with methanotrophic metabolisms in which isotopically-light CH 4 is incorporated into biomass, leading to δ 13 C org well below −40h. These observations are what led Hayes (1994) to propose the "global methanotrophy hypothesis" where methanotrophic organisms appeared at around 2.7 Ga and started to incorporate atmospheric CH 4 globally in the late Archean. Atmospheric model calculations indicate that Archean CH 4 levels were likely high in the anoxic Archean atmosphere (Pavlov et al. 2001). Importantly, microbial production of CH 4 (methanogenesis) dates back to at least 3.5 Ga (Ueno et al. 2006). Global methanotrophy may have been terminated by increasing atmospheric oxygen levels, which removed CH 4 from the atmosphere, and thus the negative δ 13 C org signature disappeared after about 2.4 Ga. The onset of the global methanotrophy episode is more difficult to explain, but it could potentially be related to localized appearances of oxygenic photosynthesis at around 2.7 Ga (Eigenbrode and Freeman 2006;. Aerobic methanotrophs not only assimilate CH 4 but also couple the oxidation of CH 4 to O 2 for energy. Anaerobic methanotrophs, which use nitrate, ferric iron or sulfate as an oxidant instead of O 2 , would benefit indirectly from increased O 2 levels, because O 2 generates more of these alternative oxidants through oxidation of ammonium, ferrous iron and sulfide, respectively. Originally, Hayes (1994) explained the expansion of methanotrophy by the concomitant appearance of oxygenic phototrophs based on the occurrence of stromatolites and cyanobacterial microfossils at about 2.7 Ga (Packer 1990). However, it remains conceivable that the isotopic anomaly was caused by anaerobic methanotrophs that received their oxidants without the need for O 2 (Hinrichs 2002).
Irrespective of the exact mechanism, the period of highly negative δ 13 C org value likely points to a redox transition of in the atmosphere and ocean. It is important to note that not only carbon, but also sedimentary nitrogen and iron isotopes are anomalous during this time period compared to the earlier Archean (Pinti and Hashizume 2010;Koehler et al. 2018), possibly indicating increasing abundances of oceanic nitrate and iron oxide. It is tempting to conclude that a gradual and perhaps localized oxidation of surface environments not only transformed the biogeochemical carbon cycle, but also sulfur, nitrogen, and iron cycling in the time period from 2.7 to 2.5 Ga.

Sulfur Isotopic Anomalies in the Neoarchean and Its Correlation with the δ 13 C Org
In contrast to the anomalous δ 13 C org , δ 15 N and δ 54 Fe, the δ 34 S record of sedimentary sulfide and sulfate do not show a distinctive signature in the Neoarchean. Instead, the 33 S value (Sect. 6) shows the largest scatter during this time (Fig. 1). Since large perturbations in MIF-S are thought have been produced in the atmosphere, the apparent correlation between 33 S and δ 13 C org may suggest a link between biogeochemical cycles and atmospheric chemistry. So far, the environmental factors controlling the magnitude and preservation of 33 S values is largely unknown because a clear understanding of the primary photochemical mechanism of S-MIF production and its transfer from the atmosphere to sediments is lacking. Based on experimental studies, large 33 S fractionations over 10h can be produced when the optical thickness of SO 2 is large enough (Lyons 2009;Endo et al. 2016). Such a high optical thickness, i.e. higher atmospheric p SO 2 , could have been produced by enhanced subaerial volcanism at that time. This suggestion is roughly consistent with the geological record of continental crust formation estimated from age populations of zircons (Condie 2005). However, although the link to "global methanotrophy" remains unclear in this scenario, it is also important to keep in mind that the atmospheric 33 S signal can be diluted by the addition of mass-dependently fractionated "normal" sulfur sources before preservation in sediment (e.g., sulfate supplied from oxidative weathering of continents, hydrothermal input, or volcanic H 2 S; Halevy 2013). Thus, the magnitude of 33 S alone cannot be interpreted unambiguously.
An alternative interpretation may be obtained from the analysis of both 33 S and 36 S. Like 33 S, 36 S is an expression of the photochemically-induced mass independent fractionation that was produced in the Archean atmosphere. Even though the atmospheric signal of both 33 S and 36 S can be diluted by the mechanisms listed above, the 36 S/ 33 S ratio would remain unchanged because the "normal" sulfur sources should exhibit 33 S = 36 S = 0. Interestingly, in the late Archean, the 36 S/ 33 S ratio shows systematic fluctuations around a mean of −0.9, and these fluctuations seem to correlate with δ 13 C org anomalies in multiple depositional basins (Ono et al. 2003;Zerkle et al. 2012;Izon et al. 2015;Mishima et al. 2017). The apparent correlation may possibly imply the connection between the atmosphere and the biosphere through CH 4 metabolisms. Based on a photochemical model, Izon et al. (2017) and  argued that the formation and thickness of a hydrocarbon haze in the atmosphere can change the S-MIF signal by altering the transmission spectrum of UV radiation. Changes in the UV wavelength affect SO 2 photolysis and thus may control the change in 36 S/ 33 S ratio. The effect is primarily derived from the difference in absorption cross sections of SO 2 isotopologues, although a later experimental study demonstrated that the isotopologue cross-section should be refined for predicting 33 S and 36 S more precisely with a proper consideration of total pressure and temperature (Endo et al. 2019). Furthermore, laboratory experiments of SO 2 photochemistry have demonstrated that the 36 S/ 33 S ratio is more sensitive to the availability of reducing gas species (potentially H 2 , CH 4 or CO) rather than haze thickness Endo et al. 2016). Thus, our understanding of the potential link with the atmospheric state and the late Archean δ 13 C org anomaly is still limited.

An Alternative Scenario: A Late Archean CO-World
Alternative to the "global methanotorophy" scenario, the anomalously low δ 13 C org in the late Archean may possibly be explained by non-biological processes. Pavlov et al. (2001) pointed out that organic haze produced from CH 4 by photochemical reactions in the atmosphere should be highly depleted in 13 C, and thus the deposition of the haze in surface environments may possibly contribute the observed negative δ 13 C org anomaly in sediment at that time. However, also in this case, the link between the carbon isotopes and S-MIF remains uncertain.
As noted above, high p SO 2 seems to be required to explain the observed large 33 S over +10h due to the significant SO 2 -self-shielding effect during SO 2 photolysis. However, self-shielding alone should produce the S-MIF with a 36 S/ 33 S ratio of about −2.5 (Lyons 2009;Endo et al. 2016), which does not match the late Archean record ( 36 S/ 33 S ranges from −1.52 to −0.85). To resolve this issue, Endo et al. (2016) demonstrated experimentally that the shallower 36 S/ 33 S slope about −1 can be produced when the photoproduct SO comes not only from SO 2 photolysis (destruction of the molecules, 185-220 nm) but also from the SO 2 photoexcitation channel (excitation of an electron to a higher energy level, 250-320 nm). The contribution from the SO 2 photoexcitation channel is expected in a reducing atmosphere, especially in the presence of carbon monoxide (CO roughly 0.01 ∼ 0.1 bar: Endo et al. 2016). The observed 36 S/ 33 S ratio around −1 may thus be evidence that the Neoarchean atmosphere was not only rich in CH 4 but also CO. A plausible source of CO would have been photochemical CO 2 reduction coupled to the presence of a strong reducing agents (most likely volcanic H 2 ) that was supplied directly to the atmosphere (Kharecha et al. 2005;Yung and DeMore 1982).
In such a hypothetical CO-rich atmosphere, low-13 C organic carbon in the form of haze particles may have rained out into surface environments. Based on theoretical calculation of absorption spectra of the CO 2 isotopologues (Schmidt et al. 2013), solar UV photolysis of CO 2 may cause significant carbon isotopic fractionation of about 200h because 13 C and 12 C have quite distinct UV absorption properties. Since the most probable source of atmospheric CO is from the photodissociation of CO 2 , the atmospheric CO would have been highly depleted in 13 C. Furthermore, the atmospheric CO could have been converted mainly into formaldehyde and deposited on the surface ( Bar-Nun and Hartman 1978;Pinto et al. 1980;Bar-Nun and Chang 1983), where it could have been assimilated into the biosphere.
Although the large isotope effect has not yet been tested quantitatively by laboratory experiment, and the chemical/biological processes to transfer the isotopically depleted CO into sediment are largely uncertain, the alternative CO-world hypothesis may explain both carbon and sulfur isotope anomalies in the late Archean, and it should be considered as a possible scenario on other exoplanetary worlds.

Atmospheric Biosignatures on the Early Earth
Using the early Earth as an analogue for exoplanets not only provides insights into the mechanisms that drive planetary habitability and evolution, but it also allows us to develop methods of detecting microbial biospheres remotely. Remote detection relies on absorption features of diagnostic gases in reflectance spectra of planets. Such diagnostic gases are those that are those that have an overwhelmingly biological source. These signatures are thus dependent on biological metabolisms but also require the characterization of potential abiotic sources that could create 'false positives'.

Methane and Other Metabolic Products
When considering the atmospheric biosignatures on the early Earth we first note that while life likely produces thousands of molecules in small quantities (see Seager et al. 2016), only a few have fluxes high enough to contribute substantially to the atmosphere. Even fewer would be detectable from the perspective of an exoplanet that is similar to early Earth (Rugheimer and Kaltenegger 2018). While it is possible that alternative biochemistries exist, to date we only know of life that uses a carbon-based biochemistry and liquid water. Since carbon dioxide and water are abundant in the Universe (Fortney 2012), it is conceivable that at least some life forms elsewhere evolved using similar chemical energy pathways and would thus potentially be detectable by methods developed based on Earth's biosphere.
While the first life form on Earth is not known, it is postulated that chemoheterotrophic organisms with metabolisms such as iron reduction and methanogenesis arose first due to the relative simplicity of their metabolic pathways. Methane is a gas with both biological and geological sources (Sects. 4, 7). On Earth, however, the biological flux is much higher than the abiotic flux, which is primarily focused around hydrothermal vents and subduction zones (Guzmán-Marmolejo et al. 2013). Given the antiquity of methanogens, the abundance of metabolic substrates for them (CO 2 , H 2 and metal catalysts) and the absence of free oxygen-a major sink for methane-in the Archean, it is thought that atmospheric methane was a large component of Earth's early atmosphere . Estimates suggest that the residence time of methane would be 100 times greater than it is today. However, as noted above, methane is not unique to biology and 'false positives' could arise on planets around starts with a relatively low UV flux, which may allow abiotic methane to accumulate in the planet's atmosphere (Guzmán-Marmolejo et al. 2013;Domagal-Goldman et al. 2014;Rugheimer et al. 2015aRugheimer et al. , 2015b.
The Archean Earth may have experienced an episode where methane accumulation was so strong that a hydrocarbon haze formed in the atmosphere (Zerkle et al. 2012). Such a haze creates an additional biosignature, because it would indicate large amounts of methane production and a biosphere dominated by methanogenesis (Arney et al. 2016. Furthermore, a haze could protect surface environments on the planet from harmful UV-C radiation, which may result in an expansion of the biosphere and thus create a positive feedback on the production of biogenic gases, including hydrocarbons (Arney et al. 2017;Rugheimer et al. 2015b;Hörst et al. 2018;. A haze-dominated planet would have detectable spectral features in the UV which could serve as a biosignature of an anoxic world . Besides methane, biogenic sulfur gases have been proposed as a biosignature in reducing atmospheres (Domagal-Goldman et al. 2011), although their detection is challenging due to spectral overlap. Phosphine is another gas which has recently been proposed as a biosignature on an anoxic world (Sousa-Silva et al. 2019). Phosphine is produced by some anaerobic organisms on Earth , and it is the simplest, isolated gas without known false positives at detectable levels. Importantly, it has strong spectral features distinct from other biosignatures which if present, could indicate an anoxic biosphere on an extrasolar planet, although its fluxes on modern (and early) Earth are not well understood.
On the modern Earth, O 2 is the most notable biosignature gas, produced by oxygenic photosynthesis. However, models have identified many abiotic mechanisms that build up appreciable quantities of this gas and create a false positive. Several of those mechanisms would be present on a young planet (e.g. Hu et al. 2012;Domagal-Goldman et al. 2014;Tian et al. 2014;Rameriz and Kaltenegger 2014;Wordsworth and Pierrehumbert 2014;Luger and Barns 2015;Harman et al. 2015;Gao et al. 2015; or see recent review by . These abiotic mechanisms of O 2 production largely require UV photolysis of H 2 O followed by hydrogen escape, or the photolysis of CO 2 . The final amount of O 2 in the atmosphere, however, will ultimately depend on the redox potential of the surface, making it vital to measure other indicators to put constraints on the redox budget of the planet (see Schaefer et al. 2016;Wordsworth et al. 2017). The additional detection of CH 4 or H 2 or constraints on CO 2 or CO could eliminate the "false positive problem" (Domagal-Goldman et al. 2014), as does the inclusion of lightning which is thought to be ubiquitous in planetary atmospheres (Harman et al. 2018a). For most of Earth's early history, O 2 levels were low, around 10 −7 to 10 −5 bar as constrained by geological evidence from mass independent sulfur isotope fractionation (Sect. 6). It is debated when oxygenic photosynthesis first evolved (Brocks et al. 1999;Planavsky et al. (2014a);French et al. 2015;Lalonde and Konhauser 2015;Gold et al. 2017). However, a permanent and relatively quick rise in atmospheric O 2 seemingly occurred around 2.33 Ga, termed the Great Oxidation Event (Luo et al. 2016;Bekker et al. 2004).
Oxygenic photosynthesis requires a second photosystem to harvest electrons from water, suggesting that this evolutionary innovation postdates the origin of anoxygenic photosynthesis, which requires only one photosystem (Hohmann-Marriott and Blankenship 2011). However, once oxygenic photosynthesis evolved, it probably began to dominate ecosystems relatively quickly, because the required substrates (photons, water and CO 2 ) are abundant. Hence there may be a strong evolutionary selection pressure in favor of this metabolism, maintaining the possibility that it also evolved elsewhere. O 2 gas remains a primary observational goal on exoplanets . However, oxygen only produces a significant absorption feature in the spectrum of a planet if its partial pressure is above 10 −2 times present atmospheric levels (PAL) (Segura et al. 2003). Below this threshold also O 3 becomes difficult to detect, although it has stronger absorption features than O 2 (Kasting and Catling 2003). Hence the invention of oxygenic photosynthesis is not a sufficient condition for the detection of an aerobic biosphere. It also depends strongly on O 2 sinks, i.e. fluxes of reducing gases and minerals to a planet's surface. There is extensive debate about when in Earth's history detectable amounts of O 2 were present. Estimates of Proterozoic O 2 levels range from 0.1% PAL to a maximum of 40% PAL (Canfield 2005, Kump 2008, Planavsky et al. 2014b. The presence of charcoals after 420 Ma indicates O 2 levels of at least 60% PAL and up to 160% PAL Glasspool 2006, Kump 2008). See Lyons et al. (2014) for a comprehensive review of oxygen through Earth's history and Meadows (2018) for a review of oxygen as a biosignature target on exoplanets.

N 2 and O 2 as Possible Geo-Biosignature
Nitrogen gas (N 2 ) is largely of geological origin, but it has a dynamic biogeochemical cycle with multiple oxidation states, which has led to the idea that a long-term stable N 2 -O 2 atmosphere may be indicative of aerobic lifeforms and even point to an active tectonic regime (Krissansen-Totton et al. 2016;Stüeken et al. 2016b;. These arguments are based on the premise that (a) N 2 and O 2 are in thermodynamic equilibrium and may ultimately be converted to nitrogen oxides by high energy processes, unless both of them are constantly replenished by life (Krissansen-Totton et al. 2016); (b) net burial of nitrogen proceeds mostly under anoxic conditions where oxidative weathering of crustal ammonium is suppressed, which implies that the rise of O 2 also leads to a decrease in N burial and therefore a build-up of N 2 in the atmosphere, provided that buried N becomes re-exposed to weathering by tectonic uplift (Stüeken et al. 2016b), and (c) N 2 may be easily removed from the atmosphere on young anoxic planets with a weak magnetic field where cosmic radiation is strong, whereas most return fluxes of N 2 to the atmosphere are biologically driven and proceed via nitrate or nitrite, which require the presence of O 2 . Of course, these deliberations are only valid for terrestrial planets in their respective habitable zone, but these are the class of planets where the conditions for life as we know it are most promising. The detection of an atmosphere with N 2 and O 2 as bulk gases and only a considerably lower share of CO 2 most likely constitutes a geo-biosignature.

Conclusions and Outlook
The development and sustenance of habitable conditions on Earth depends on numerous geological, solar, and biological factors. Initially, the composition and volatile content of Earth's building blocks determined the amount of water and greenhouse gases that could be released and maintained after Moon formation. The release itself was in turn dependent on the longevity of the magma ocean phase (Sect. 2), which would have been a function of Earth's internal heat, i.e. its endowment of radioactive elements, planetary differentiation and gravitational contraction. Further, the accumulation of gases within the atmosphere may have been limited by stellar erosion, if the young Sun radiated more strongly in the XUV range than it does today and if the upper atmosphere was not sufficiently cooled by high levels of CO 2 (Sect. 5). It is also conceivable that some volatiles were converted back into magma-soluble molecules (e.g. N 2 to NH 3 ) by atmospheric processes (Sect. 2). Direct evidence for photochemistry on the early Earth is archived in the sulfur isotope record (Sects. 6, 7) and possibly in the record of organic carbon isotopes (Sect. 7). The return flux of volatiles into the mantle may have been accelerated by the onset of plate tectonics, and the timing of this onset was probably determined by the degree of volatile loss during the magma ocean phase (Sect. 3). The emergence of life likely enhanced the drawdown of both CO 2 and N 2 while also affecting the redox state of the atmosphere through the production of CH 4 and O 2 (Sect. 4). These biological imprints have probably had a substantial effect on the evolution of our planet and may serve as biosignatures on other terrestrial worlds (Sect. 8).
Our review highlights the complex interplay between physical and chemical processes many of which are so far only poorly constrained. The future of this field of research will greatly benefit from new cross-disciplinary approaches.
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.