Introduction

Nitrogen (N) is an essential element for all living organisms but its availability often limits the growth and productivity of terrestrial and aquatic ecosystems. Although molecular dinitrogen gas (\({{\rm{N}}}_{2}\)) is highly abundant in the marine water column, only specific prokaryotes that can fix \({{\rm{N}}}_{2}\) (diazotrophs) using the nitrogenase enzyme complex1 assimilate this form of nitrogen. Nevertheless, nitrogen fixation maintains the inventory of biologically available nitrogen in the open oceans, which fuels primary production1,2, and thereby affects the biogeochemical cycling of both nitrogen and carbon3.

\({{\rm{N}}}_{2}\) fixation was thought to exclusively be carried out by cyanobacteria in the oligotrophic and sunlit upper layers of the tropical and subtropical oceans (reviewed in Zehr4). However, accumulating evidence shows that \({{\rm{N}}}_{2}\) fixation is surprisingly widespread, for example in the deep sea5, nutrient-rich coastal waters6, and cold Arctic waters7. Moreover, analyses of genes (nifH) encoding the enzyme complex used for \({{\rm{N}}}_{2}\) fixation document that non-cyanobacterial diazotrophs are almost ubiquitous across the world’s oceans, often dominate nifH gene libraries over cyanobacteria, and occasionally express nitrogenase8,9,10. Hence, the emerging picture shows \({{\rm{N}}}_{2}\) fixation as a global marine process partially carried out by non-cyanobacterial diazotrophs, but their ecology and contribution to total \({{\rm{N}}}_{2}\) fixation remain enigmatic10.

Nitrogenase is irreversibly inactivated by \({{\rm{O}}}_{2}\)11. Cyanobacteria adopt several strategies to protect nitrogenase from inactivation by \({{\rm{O}}}_{2}\)12. Heterotrophic diazotrophs may under rich culture conditions surround cells with extracellular polymers13 to lower the permeability to extracellular \({{\rm{O}}}_{2}\) to protect the nitrogenase, but since this is highly energy-demanding14,15 it is an unlikely strategy in the relatively nutrient-poor marine water column. Recent work, inspired by the pioneering work of Paerl et al.16,17, has suggested that heterotrophic \({{\rm{N}}}_{2}\) fixation takes place in low-oxygen or anaerobic microzones associated with marine particles (reviewed in Riemann et al.18 and in Bombar et al.10). Indeed, anaerobic microzones are occasionally associated with marine particles19,20. Recent studies show \({{\rm{N}}}_{2}\) fixation is stimulated by the presence of particles21,22 and that heterotrophic diazotrophs are associated with plankton specimens23,24 and marine aggregates25,26. Hence, beyond doubt, marine particles provide, at least ephemeral, conditions suitable for \({{\rm{N}}}_{2}\) fixation by heterotrophic bacteria.

Cellular \({{\rm{O}}}_{2}\) removal by diazotrophs is considered highly energy-demanding, even more energetically expensive than \({{\rm{N}}}_{2}\) fixation per se14. Hence, considerable amounts of labile carbon (e.g., carbohydrate and amino acids) are required to sustain particle-associated microbial respiration beyond the specific energy requirements for diazotrophy. Interestingly, preferential microbial utilization of N-rich organics on particles27 and release of \({{{\rm{NH}}}_{4}}^{+}\) 28 may increase particle C:N ratios over time27, gradually making N acquisition by \({{\rm{N}}}_{2}\) fixation increasingly advantageous.

While synthesizing ATP during respiration, \({{\rm{O}}}_{2}\) is used as the most common and favorable form of electron acceptor by prokaryotes. In the absence of \({{\rm{O}}}_{2}\), other electron acceptors (e.g., \({{{\rm{NO}}}_{3}}^{-}\) and \({{{\rm{SO}}}_{4}}^{2-}\)) may be used in a stepwise manner according to their free energy yields29, with a rather small drop-off in the theoretical energy yield for \({{{\rm{NO}}}_{3}}^{-}\) respiration, followed by \({{{\rm{SO}}}_{4}}^{2-}\) respiration with almost tenfold less energy yield per electron donor30. However, \({{{\rm{SO}}}_{4}}^{2-}\) respiration is likely the primary form of anaerobic respiration supporting \({{\rm{N}}}_{2}\) fixation since \({{{\rm{SO}}}_{4}}^{2-}\) reducing diazotrophs have been widely found31,32, also on marine particles25.

Another factor likely regulating \({{\rm{N}}}_{2}\) fixation in sinking marine particles is the particle size, which varies from micrometers to several millimeters33. The particle size spectrum follows a power law relationship showing a decrease in particle abundance with increasing size34. Because of smaller surface-to-volume ratios, large particles are more likely to develop an anoxic interior suitable for \({{\rm{N}}}_{2}\) fixation. Moreover, particles face changing \({{\rm{O}}}_{2}\) and \({{{\rm{NO}}}_{3}}^{-}\) concentrations while descending in the water column. The rate of change depends on particle sinking speed, but no universal size-sinking speed relationship exists35. Although all these external factors can have huge influences, the extent by which they affect heterotrophic \({{\rm{N}}}_{2}\) fixation inside sinking particles is currently unclear.

To quantitatively analyze the conditions when heterotrophic \({{\rm{N}}}_{2}\) fixation occurs on sinking particles, we present a trait-based model of heterotrophic bacteria associated with sinking particles. This effort aims to encapsulate an understanding of the dynamics between (micro)environmental conditions and the requirements and constraints of heterotrophic \({{\rm{N}}}_{2}\) fixation. Specifically, the model captures basic cellular processes determining growth and \({{\rm{N}}}_{2}\) fixation in an individual cell and then scales up to the population level to address particle dynamics and the contribution to total \({{\rm{N}}}_{2}\) fixation in the water column. We also examine how the size of particles, initial concentrations of polysaccharide and polypeptide, and environmental \({{\rm{O}}}_{2}\) concentration influence heterotrophic \({{\rm{N}}}_{2}\) fixation inside sinking particles, and the succession of aerobic and anaerobic respiration as support for \({{\rm{N}}}_{2}\) fixation. In doing so we identify potentially testable hypothetical consequences: (H1) excess acquired N released by cells and hydrolysis products diffuse away from the particle and contribute to an organic solute trail in the water column as the particle sinks. (H2) \({{\rm{N}}}_{2}\) fixation by heterotrophic diazotrophs depends on the generation of particle-associated low-oxygen microenvironments. (H3) During the “life span” of a sinking marine particle there is an ephemeral window of opportunity where environmental conditions are conducive for heterotrophic \({{\rm{N}}}_{2}\) fixation. (H4) \({{{\rm{SO}}}_{4}}^{2-}\) reduction is more important for \({{\rm{N}}}_{2}\) fixation within sinking particles than \({{{\rm{NO}}}_{3}}^{-}\) reduction. (H5) The particle sinking speed and concentrations of \({{\rm{O}}}_{2}\) and \({{{\rm{NO}}}_{3}}^{-}\) in the water column affects \({{\rm{N}}}_{2}\) fixation rates. Although the model is developed to investigate \({{\rm{N}}}_{2}\) fixation, it also provides critical insights on biochemistry and microbial respiratory processes inside sinking particles.

Results and discussion

Overview of the model

The overall model consists of a “cell model” and a “particle model”. The cell model describes basic cellular processes, like uptake of resources, respiration, growth, and \({{\rm{N}}}_{2}\) fixation rate. The cell model is embedded in a dynamic model, called the particle model, that deals with interactions of cells with the available abiotic factors (polysaccharide, polypeptide, \({{\rm{O}}}_{2}\), \({{{\rm{NO}}}_{3}}^{-}\), \({{{\rm{SO}}}_{4}}^{2-}\)) over time.

The cell model describes a population of facultative \({{\rm{N}}}_{2}\) fixing heterotrophic bacteria growing inside a particle sinking through a water column. A schematic representation of the processes inside a single cell is presented in Fig. 1 and the full description of mathematical forms and equations are provided in the “Methods” section. The cell uses ectoenzymes to degrade polymers (polysaccharides and polypeptides) to oligomers or monomers (glucose and amino acids) that it can efficiently take up to fulfill its C and N requirements. The uptake of glucose and amino acids follows Michaelis–Menten kinetics. The model accounts for acquired C and N to ensure that the cell satisfies its needs for both. While glucose uptake provides only C, amino acids provide both C and N (Eqs. 8 and 9).

Fig. 1: Schematic representation of the cellular processes.
figure 1

It shows how fluxes of carbon (C), \({J}_{{\rm{C}}}\) (solid lines), fluxes of nitrogen (N), \({J}_{{\rm{N}}}\) (dotted lines), and electron acceptors (\({{\rm{O}}}_{2}\), \({{{\rm{NO}}}_{3}}^{-}\), and \({{{\rm{SO}}}_{4}}^{2-}\); red dashed line) are combined (blue ellipse) to determine growth rate after paying the cost of respiration (brown explosion). Triangle symbols represent the functional responses for the uptake mechanisms and diffusive inflow of \({{\rm{O}}}_{2}\), \({{{\rm{NO}}}_{3}}^{-}\), and \({{{\rm{SO}}}_{4}}^{2-}\). \({J}_{{\rm{tot}}}\) represents respiration that includes costs of uptake and mobilization of resources for synthesis, construction/maintenance of structure, and ectoenzyme production. The ellipse represents the synthesis of biomass from the available C, N, and electron acceptors following Liebig’s law of the minimum. Any excess assimilated C or N is excreted from the cell. µ represents the division rate. The black dashed-dotted line represents the regulation of \({{\rm{N}}}_{2}\) fixation to optimize growth rate and the red dashed-dot line represents the regulation of respiration by electron acceptors.

C obtained from glucose and amino acids is respired to carry out resource uptake, cellular maintenance (Fig. 1), and standard metabolism (Eq. 13). \({{\rm{O}}}_{2}\), \({{{\rm{NO}}}_{3}}^{-}\), and \({{{\rm{SO}}}_{4}}^{2-}\) are used as electron acceptors in a stepwise manner in order of their free energy yield to perform respiration36. In the absence of sufficient \({{\rm{O}}}_{2}\), the cell uses \({{{\rm{NO}}}_{3}}^{-}\) to continue respiration, although all N necessary for growth comes from organic sources and \({{\rm{N}}}_{2}\) fixation (whenever possible). The further need of an electron acceptor is fulfilled by \({{{\rm{SO}}}_{4}}^{2-}\).

The cell can carry out \({{\rm{N}}}_{2}\) fixation to supplement its N requirement. It regulates the rate of \({{\rm{N}}}_{2}\) fixation to optimize its growth rate. As nitrogenase is irreversibly inhibited by O211, the cell needs low \({{\rm{O}}}_{2}\) conditions inside particles or increased respiration to make the cell O2 free and thereby enable \({{\rm{N}}}_{2}\) fixation.

The synthesis of biomass using available C and N from resource uptake and electron acceptors follows Liebig’s law of the minimum and is constrained by the cellular C:N ratio (\({\rho }_{{\rm{CN}},{\rm{B}}}\)) (Eq. 28). Any excess assimilated C or N is excreted from the cell. The cell division rate \(\mu\) is found from the mass-specific synthesis rate.

The particle model consists of a sinking particle that contains polysaccharides and polypeptides and is colonized by facultative nitrogen-fixing bacteria (Supplementary Fig. S1). Only fractions of these polymers are considered labile, i.e., accessible by bacteria. Bacterial enzymatic hydrolysis converts labile polysaccharides and polypeptides into monosaccharides (glucose) and amino acids that are efficiently taken up by bacteria. Excess glucose and amino acids diffuse out of the particle to the surrounding environment, while \({{\rm{O}}}_{2}\) and \({{{\rm{NO}}}_{3}}^{-}\) diffuse into the particle from the surrounding water. \({{{\rm{SO}}}_{4}}^{2-}\) is the second most abundant anion in seawater with an estimated concentration of 28 mM37 (roughly three orders of magnitude higher concentration than \({{{\rm{NO}}}_{3}}^{-}\)) whereas \({{\rm{N}}}_{2}\) is also plentiful with an average concentration of 0.4 mM in seawater37 (more than two orders of magnitude higher concentration than \({{{\rm{NO}}}_{3}}^{-}\)). Due to these high concentrations of \({{{\rm{SO}}}_{4}}^{2-}\) and \({{\rm{N}}}_{2}\) inside particles, the uptake is assumed to be limited by the cellular maximum uptake capacities and not by the rate of diffusion toward the cell. Depending on the available concentrations of glucose, amino acids, \({{\rm{O}}}_{2}\), and \({{{\rm{NO}}}_{3}}^{-}\) inside the particle, bacteria carry out \({{\rm{N}}}_{2}\) fixation (Eq. 30). Fe, an essential component in the nitrogenase complex, is considered nonlimiting as sinking particles contain high levels of Fe38. The predation on bacteria is represented by a linear mortality term. The interactions between particle, cells, and the surrounding environment are explained in the supplementary Fig. S1, equations are provided in Table 1, and a full description of the particle model is provided in the “Methods” section.

Table 1 Equations for the particle model.

Biochemical dynamics inside a particle under static environmental conditions

The dynamics inside a particle of radius 0.125 cm with initial polysaccharide and polypeptide concentrations of \(2.6\times {10}^{8}\) μg G L−1 and \(1.6\times {10}^{8}\) μg A L−1, with relative lability of 0.238 and 0.5, respectively, are depicted in Fig. 2. We simulate a population of bacterial cells of radius \(0.29\) μm (\(50\) \({\rm{fg}}\) \({\rm{C}}\) cell−1) growing inside a particle where the surrounding glucose, amino acids, \({{\rm{O}}}_{2}\), \({{{\rm{NO}}}_{3}}^{-}\), and \({{{\rm{SO}}}_{4}}^{2-}\) concentrations are kept fixed at 50 μg G L−1, 5 μg A L−1, 50 μmol \({\rm{O}}_{2}\) L−1, 15 μmol \({\rm{NO}}_{3}\) L−1, and \(29\times {10}^{3}\) μmol \({\rm{SO}}_{4}\) L−1. Here, concentrations inside the particle are given as per liter of particle and outside as per liter of water. A full description of the included parameters and their values is available in Supplementary Material S1 and Table S1. The bacteria hydrolyze labile polysaccharides and polypeptides into glucose and amino acids using ectoenzymes (Fig. 2a, b). As a result, glucose and amino acid concentrations increase inside particles (Fig. 2c, d), which causes a high growth rate of cells (~3.6 d−1; Fig. 2j), an increase in bacterial abundance (Fig. 2g), and a decrease in labile polysaccharide and polypeptide concentrations. The occurrence of such a high bacterial abundance is not rare inside natural sinking particles26,39,40. The growth rates observed in the model are high for the temperature regime but conceivable given that there are some reports of extremely high growth rates in particle-associated bacteria albeit at higher temperatures and in different environments than modeled here41,42. The increased community respiration (Fig. 2h) decreases \({{\rm{O}}}_{2}\) concentration and eventually leads to anoxia in the particle interior (Fig. 2e). This is consistent with ephemeral anoxia inside marine aggregates20 and the anoxia observed inside suspended cyanobacterial colonies of comparable size19. The gradual formation of low-oxygen or anoxic conditions and depletion of organic N (amino acids) facilitates \({{\rm{N}}}_{2}\) fixation (Fig. 2i), supported by aerobic respiration followed by \({{{\rm{NO}}}_{3}}^{-}\) respiration (Fig. 2e, f). The lesser energetic yield of \({{{\rm{NO}}}_{3}}^{-}\) respiration leads to a reduced growth rate (~0.6 d−1). Furthermore, when \({{{\rm{NO}}}_{3}}^{-}\) becomes exhausted (Fig. 2f), cells respire \({{{\rm{SO}}}_{4}}^{2-}\) (not shown in the figure) and the growth rate becomes very low (~0.2 d−1). Because of the energetic constraints, \({{\rm{N}}}_{2}\) fixation during this phase also becomes low. The presence of such \({{{\rm{NO}}}_{3}}^{-}\) and \({{{\rm{SO}}}_{4}}^{2-}\) reducing bacteria is common in sinking particles43. Eventually, \({{\rm{N}}}_{2}\) fixation ceases due to increased \({{\rm{O}}}_{2}\) levels as the exhaustion of labile carbon in the particle decreases cell concentration and \({{\rm{O}}}_{2}\) influx exceeds \({{\rm{O}}}_{2}\) consumption (aerobic respiration).

Fig. 2: Dynamics inside a particle of radius 0.125 cm with time.
figure 2

a Labile carbohydrate, b labile polypeptide, c glucose, d amino acid, e \({{\rm{O}}}_{2}\) in particle, f \({{{\rm{NO}}}_{3}}^{-}\) in particle, g bacterial abundance, h respiration rate, i \({{\rm{N}}}_{2}\) fixation rate, and j growth rate are shown along the particle radius over time. Parameters and concentrations of surrounding factors are taken from Table S1.

We performed a sensitivity analysis, adapted from earlier studies44, to investigate how different factors affect the \({{\rm{N}}}_{2}\) fixation rate inside particles (Supplementary Fig. S2). \({{\rm{N}}}_{2}\) fixation rate was found to increase with increased maximum glucose uptake rate and maximum amino acid uptake rate, and decrease with the cost of amino acids uptake, hydrolysis rate of polysaccharide, and the fraction of \({{\rm{O}}}_{2}\) diffusivity within particles compared to water. Significant decreases in \({{\rm{N}}}_{2}\) fixation rate were observed with an increase in hydrolysis rate of polysaccharide and a decrease in maximum glucose uptake rate. Not surprisingly, the sensitivity analysis suggests hydrolysis and uptake as key parameters affecting \({{\rm{N}}}_{2}\) fixation, pinpointing the importance of particle composition and bioavailability for particle-associated \({{\rm{N}}}_{2}\) fixation.

Cellular mechanisms of \({\rm{N}}_{2}\) fixation

To explore the cellular mechanism of \({{\rm{N}}}_{2}\) fixation, we examine concentrations and rates over time at a radial distance of 0.027 cm from the particle center (Fig. 3). We identify four phases: (I) C limited phase, (II) high respiration phase, (III) \({{\rm{N}}}_{2}\) fixing phase, and (IV) fading phase. The different phases are based on limitations of either C or N or electron acceptor where the growth rate is determined by the minimum availability of these three substances (Eqs. 28 and 29; Fig. 3a). Available C for growth is the C remaining from total C uptake after paying the respiratory costs, whereas the N available for growth comes from uptake and \({{\rm{N}}}_{2}\) fixation. A stepwise conceptual flow chart of how different factors are responsible for different events inside particles is provided in Supplementary Fig. S3.

  1. I.

    Due to high respiratory cost, cells are limited by C, which is seen by the light blue line coinciding with the magenta line in Fig. 3a. Growth rates are high, up to 3.6 day−1. Excess N and hydrolysis products not taken up by cells27 will diffuse away from the particle and contribute to an organic solute trail in the water column as the particle sinks45, supporting our hypothesis H1.

  2. II.

    The large bacterial population causes high community respiration, matching or exceeding the diffusive influx of \({{\rm{O}}}_{2}\), and anoxia forms in the particle interior (Fig. 3e). Cells start respiring \({{{\rm{NO}}}_{3}}^{-}\) and even \({{{\rm{SO}}}_{4}}^{2-}\) reduction happens at the end of this phase (not shown in the figure) when \({{{\rm{NO}}}_{3}}^{-}\) is depleted. Now growth is limited by the availability of electron acceptor (the yellow line coincides with the magenta in Fig. 3a). An organic solute trail rich in both C and N is predicted during this phase. The amino acid concentration decreases rapidly during the final part of this phase (Fig. 3c).

  3. III.

    Because of our initial choice of polysaccharide and polypeptide concentrations, amino acids are exhausted. In real life, bacterial preferential degradation of N-rich organics results in similar early exhaustion of amino acids27. Glucose remains available as C source (Fig. 3c), so cells start fixing \({{\rm{N}}}_{2}\) to maintain growth (Fig. 3d). However, since the available \({{\rm{O}}}_{2}\) in the particle is insufficient to support respiration, \({{{\rm{NO}}}_{3}}^{-}\) and \({{{\rm{SO}}}_{4}}^{2-}\) also act as electron acceptors during this phase. Cells become co-limited by N from \({{\rm{N}}}_{2}\) fixation and electron acceptor (green and yellow lines coincide; Fig. 3a) and we predict that the expected solute trail consists only of C during this phase. Because of the lower free energy yield, \({{\rm{N}}}_{2}\) fixation decreases when using \({{{\rm{SO}}}_{4}}^{2-}\) as an additional electron acceptor. Toward the end of this phase, the respiratory cost of glucose uptake decreases with the decrease in glucose concentration to such an extent that there is excess \({{\rm{O}}}_{2}\) after performing respiration. At that point, cells increase respiration to burn excess \({{\rm{O}}}_{2}\) to perform \({{\rm{N}}}_{2}\) fixation for a very short interval of time, resulting in a peak in \({{\rm{N}}}_{2}\) fixation rate (Fig. 3d) and the respiratory cost for \({{\rm{O}}}_{2}\) removal (Fig. 3b).

  4. IV.

    Cells have insufficient C to deal with excess \({{\rm{O}}}_{2}\) and consequently stop \({{\rm{N}}}_{2}\) fixation. N becomes the limiting factor for cell growth and growth ceases. Later, the growth rate becomes negative as there is no glucose left needed for basal respiration. Throughout this phase, the bacterial concentration decreases (Fig. 3c).

Fig. 3: Cellular rates and resource concentrations at a radial distance of 0.027 cm from the center of a particle of radius 0.125 cm.
figure 3

a Size-specific rates of C uptake (dark blue), total respiration (orange), available C for growth (light blue), available N for growth (green), available EA (electron acceptor \({{\rm{O}}}_{2}\), \({{{\rm{NO}}}_{3}}^{-}\), and \({{{\rm{SO}}}_{4}}^{2-}\); yellow), and growth rate of a cell (dashed magenta). Regions I, II, III, and IV represent situations when a cell is limited by C, EA, co-limited by N and EA, N, and showing negative growth rate (see text). b Respiratory costs related to \({{\rm{N}}}_{2}\) fixation in terms of direct respiration, enzyme production, and \({{\rm{O}}}_{2}\) removal. c Glucose, amino acid, and bacterial concentrations in the particle. d Cellular \({{\rm{N}}}_{2}\) fixation rate. e \({{\rm{O}}}_{2}\) and \({{{\rm{NO}}}_{3}}^{-}\) concentrations in the particle. The gray area represents the time interval of \({{\rm{N}}}_{2}\) fixation.

The identification of different phases yields insights relevant for several of our hypotheses. As the particle sinks, it will be tailed by an organic matter solute trail. Its composition depends on the internal state of the particle. During the “C limited phase” and “High respiration phase”, the expected trail consists of both C and N, whereas during the “\({{\rm{N}}}_{2}\) fixation phase”, the trail contains only C. The amount of C and N in the trail can be estimated from the outgoing flux of the organic matter from the particle, supporting our hypothesis H1. Comparing different respiratory costs related to \({{\rm{N}}}_{2}\) fixation in terms of direct respiration, enzyme production, and \({{\rm{O}}}_{2}\) removal, it becomes evident that when cells use respiratory protection to keep nitrogenase viable and enable \({{\rm{N}}}_{2}\) fixation, the related cost becomes much higher than the direct cost for \({{\rm{N}}}_{2}\) fixation (Fig. 3b). A similar high cost of \({{\rm{O}}}_{2}\) management during \({{\rm{N}}}_{2}\) fixation was previously shown to exceed the costs of \({{\rm{N}}}_{2}\) fixation per se for the heterotrophic soil bacterium Azotobacter vinelandii14. We therefore conclude that active \({{\rm{O}}}_{2}\) management by particle-associated heterotrophic diazotrophs is not prevalent, but that they rather depend on the generation of low-oxygen microenvironments by community respiration, supporting our initial hypothesis H2.

The observed fast transitions of glucose and amino acids happen when the exponential growth of bacteria leads to high bacterial abundance and high degradation of polymers (Figs. 2 and 3c). Similar fast changes in bacterial abundance and co-occurring resource utilization have been observed in an experiment showing degradation of transparent exopolymer particles derived from cultures of the coccolithophore Emiliania huxleyi46. However, a very sharp transition has been observed for \({{\rm{N}}}_{2}\) fixation rate (Figs. 2i and 3d). Because of the cost related to \({{\rm{N}}}_{2}\) fixation, \({{\rm{N}}}_{2}\) fixation starts only when there is no N available from amino acid (Fig. 3c). The rate of \({{\rm{N}}}_{2}\) fixation is determined by the available electron acceptors (Fig. 3a) and results in a sharp transition at the beginning of \({{\rm{N}}}_{2}\) fixation. \({{\rm{N}}}_{2}\) fixation stops when the C available from glucose is not sufficient to burn excess \({{\rm{O}}}_{2}\) to keep the cell \({{\rm{O}}}_{2}\) free; consequently, \({{\rm{N}}}_{2}\) fixation terminates abruptly.

Effects of particle size, \({\rm{O}}_{2}\), and initial polysaccharide and polypeptide concentrations

Marine particles are highly variable in size33 and chemical composition. For example, the C:N ratio (and implied polysaccharide:polypeptide availability) varies considerably, depending on environmental conditions47. Moreover, while descending in the water column, particles face a range of surrounding \({{\rm{O}}}_{2}\) concentrations. Therefore, we examined the implications for \({{\rm{N}}}_{2}\) fixation in particles of different sizes under different polysaccharide, polypeptide, and \({{\rm{O}}}_{2}\) concentrations (Fig. 4). We considered open ocean particles with radius 5 μm to 0.25 cm48 and estimated the total amount of fixed \({{\rm{N}}}_{2}\) per particle by allowing bacteria to grow inside particles for 20 days. As expected, large particles provide a suitable environment for \({{\rm{N}}}_{2}\) fixation. The minimum size of particles where \({{\rm{N}}}_{2}\) fixation is possible increases with polysaccharide concentration (Fig. 4a), decreases with environmental \({{\rm{O}}}_{2}\) concentration (Fig. 4c), and attains a maximum at intermediate polypeptide concentration (Fig. 4b). \({{\rm{N}}}_{2}\) fixation does not occur in particles with radius below ~0.03 cm. The increase in \({{\rm{N}}}_{2}\) fixation with polysaccharide concentrations is consistent with observations of stimulated \({{\rm{N}}}_{2}\) fixation in seawater upon the addition of C substrate (e.g., Rahav et al.22). Interestingly, maximum \({{\rm{N}}}_{2}\) fixation occurs at intermediate polypeptide concentrations (~\(5\times {10}^{7}\) μg L−1) in large particles (Fig. 4b). Our interpretation is that low polypeptide concentrations do not allow cells to grow to high concentrations and create an anoxic interior, whereas, at high concentrations, cells cover their N demand by amino acid assimilation and, therefore, refrain from \({{\rm{N}}}_{2}\) fixation.

Fig. 4: Effects of particle size, O2, and initial polysaccharide and polypeptide concentrations on N2 fixation rates.
figure 4

The total amount of fixed \({{\rm{N}}}_{2}\) per particle as a function of particle radius and initial labile polysaccharide (a), initial labile polypeptide (b), and surrounding \({{\rm{O}}}_{2}\) concentration (c). The white dashed line separates regions of occurrence and non-occurrence of \({{\rm{N}}}_{2}\) fixation (\({{\rm{N}}}_{{\rm{fix}}} > {10}^{-3}\) μg N particle−1). The horizontal magenta dashed lines indicate the base value for other plots, e.g., in (a), magenta dashed line represents the level of polysaccharide concentration in b and c. The chosen concentration ranges corresponds to those in natural particles60,81.

Maximum \({{\rm{N}}}_{2}\) fixation in large particles occurs under very low (~0.3 μmol L−1) and intermediate (~80 μmol L−1) \({{\rm{O}}}_{2}\) levels (Fig. 4c). Under very low \({{\rm{O}}}_{2}\) concentrations, cellular respiration is expected to occur using \({{{\rm{NO}}}_{3}}^{-}\) and \({{{\rm{SO}}}_{4}}^{2-}\) as electron acceptors causing low cellular growth rate and a slowly increasing cell concentration. However, \({{\rm{N}}}_{2}\) fixation occurs for a long time period and makes the total \({{\rm{N}}}_{2}\) fixation per particle relatively high (Supplementary Fig. S4d). At intermediate \({{\rm{O}}}_{2}\) levels, cells are not limited by \({{\rm{O}}}_{2}\) and reach a high growth rate during the initial phase. Therefore a high cell concentration is rapidly obtained (Supplementary Fig. S4c) causing reduced \({{\rm{O}}}_{2}\) levels suitable for \({{\rm{N}}}_{2}\) fixation for a relatively shorter time interval (Supplementary Fig. S4d). The combination of high cellular \({{\rm{N}}}_{2}\) fixation rate and high cell concentration results in high total \({{\rm{N}}}_{2}\) fixation per particle. At a high \({{\rm{O}}}_{2}\) level (~200 μmol L−1), this low \({{\rm{O}}}_{2}\) period is very short, possibly because of a large diffusion loss of glucose associated with extensive polysaccharide hydrolysis caused by the high cell concentration (Supplementary Fig. S4c). This lowers the total amount of \({{\rm{N}}}_{2}\) fixed per particle. However, the concentrations of \({{\rm{O}}}_{2}\), where these two maxima occur, depend on the initial polysaccharide and polypeptide concentrations. With a decrease in these concentrations, the intermediate \({{\rm{O}}}_{2}\) concentration, where the maximum occurs, decreases (Supplementary Fig. S5) and finally merges with the other maximum at low \({{\rm{O}}}_{2}\) (not shown). Indeed, empirical results confirm the existence of such optimal \({{\rm{O}}}_{2}\) concentration for \({{\rm{N}}}_{2}\) fixation and a level of 6 μmol L−1 has been observed for heterotrophic diazotrophs49.

By simultaneously varying initial labile polysaccharide and polypeptide concentrations in small and large particles at different surrounding \({{\rm{O}}}_{2}\) concentrations, it appears that \({{\rm{N}}}_{2}\) fixation is restricted to large particles with high initial polysaccharide and polypeptide concentrations when \({{\rm{O}}}_{2}\) concentration is high (Fig. 5a). However, under low \({{\rm{O}}}_{2}\) concentrations, \({{\rm{N}}}_{2}\) fixation occurs even at lower concentrations of polysaccharides and polypeptides (Fig. 5b). \({{\rm{N}}}_{2}\) fixation can also occur in relatively smaller particles, however, only when the initial polysaccharide concentration is high and the surrounding \({{\rm{O}}}_{2}\) concentration is low (Fig. 5c).

Fig. 5: The total amount of fixed N2 at different initial labile polysaccharide and polypeptide concentrations.
figure 5

N2 fixation is observed in a large particle of radius 0.125 cm and surrounding \({{\rm{O}}}_{2}\) concentrations a 50 μmol O2 L−1 and b 0.5 μmol O2 L−1, and c in a relatively smaller particle of radius 0.05 cm and surrounding \({{\rm{O}}}_{2}\) concentrations 0.5 μmol O2 L−1. Line types are similar as in Fig. 4. Note the different ranges of the scale of \({{\rm{N}}}_{2}\) fixation.

The amount of POC present in particles can be considered a proxy for polysaccharide and polypeptide concentrations. The presence of high POC in freshly formed particles from dense phytoplankton blooms50 and fecal pellets51 would increase the likelihood of particle-associated \({{\rm{N}}}_{2}\) fixation. Likewise, the seasonally high POC content of particles during late spring in high latitude areas52 could increase the likelihood of particle-associated \({{\rm{N}}}_{2}\) fixation at this time. On the other hand, the size of particles, which also has a profound impact on \({{\rm{N}}}_{2}\) fixation, is closely associated with the species responsible for particle formation. For instance, since particles are larger during diatom blooms compared to cyanobacterial blooms53, an increased likelihood of \({{\rm{N}}}_{2}\) fixation during diatom blooms would be expected. The latitudinal variation in particle size spectrum with a dominance of larger particles at higher latitudes compared to smaller particles in the oligotrophic subtropical gyres54 indicates a greater opportunity for particle-associated \({{\rm{N}}}_{2}\) fixation at high latitudes. Hence, the potential for particle-associated \({{\rm{N}}}_{2}\) fixation is highly dependent on local dynamics in the size and composition of particles, together with the local \({{\rm{O}}}_{2}\) conditions.

\({\rm{N}}_{2}\) fixation in sinking particles

To explore the dynamics of \({{\rm{N}}}_{2}\) fixation in sinking particles of different sizes, we use vertical profiles of \({{\rm{O}}}_{2}\) and \({{{\rm{NO}}}_{3}}^{-}\) in the upper 500 m of the Mauritanian upwelling zone in the North Atlantic Ocean (NAO; Fig. 6)55. \({{\rm{O}}}_{2}\) concentration drops to hypoxic levels (~62.5 to 157 µmol L−1) in the water column between 100 and 600 m (Fig. 6a). \({{\rm{N}}}_{2}\) fixation coincides mainly with the presence of an anoxic particle interior. The amount of fixed \({{\rm{N}}}_{2}\) increases with particle size and because of higher sinking rates and more C to fuel respiration, the existence of both anoxic interior (regions within magenta lines) and \({{\rm{N}}}_{2}\) fixation (within white lines) in large particles occur in deeper waters and persist for longer time (Fig. 6b). We presume that \({{\rm{N}}}_{2}\) fixation stops in deep water when labile material in the particle is exhausted. This shows that the window of opportunity where environmental conditions are conducive for heterotrophic \({{\rm{N}}}_{2}\) fixation is ephemeral, supporting our hypothesis H3.

Fig. 6: Dynamics inside sinking particles of different sizes in the upper 500 m of the Mauritanian upwelling zone in the North Atlantic Ocean (NAO)55.
figure 6

\({{\rm{O}}}_{2}\) and \({{{\rm{NO}}}_{3}}^{-}\) profile in the water column55 (a), total amount of fixed \({{\rm{N}}}_{2}\) per particle (b), fraction of particle volume where respiration is fueled by denitrification (c), and fraction of particle volume where respiration is fueled by \({{{\rm{SO}}}_{4}}^{2-}\) reduction (d). Areas enclosed by white and magenta dashed lines represent the occurrence of \({{\rm{N}}}_{2}\) fixation (>\({10}^{-3}\) μg N day−1 particle−1) and anoxia (\({{\rm{O}}}_{2}\)<\({10}^{-3}\) μmol O2 L−1), respectively, at the center of particles.

In the anoxic particle interior, \({{{\rm{NO}}}_{3}}^{-}\) and \({{{\rm{SO}}}_{4}}^{2-}\) function as electron acceptors. The model suggests that the fraction of particle volume where denitrification occurs (maximum 6%) is much smaller than the fraction of volume of occurrence of \({{{\rm{SO}}}_{4}}^{2-}\) reduction (maximum 90%) (Fig. 6c, d). The model predicts that despite being energetically profitable, \({{{\rm{NO}}}_{3}}^{-}\) does not play a big role in \({{\rm{N}}}_{2}\) fixation and \({{{\rm{SO}}}_{4}}^{2-}\) reduction appears as the key anaerobic process within sinking particles. This is due to very high cell concentration near the surface of the particle (Fig. 2g) that creates a high respiratory demand for electron acceptors, exhausts \({{{\rm{NO}}}_{3}}^{-}\) close to the particle surface, and prevents \({{{\rm{NO}}}_{3}}^{-}\) from reaching the particle interior (Fig. 2f). As a result, \({{\rm{N}}}_{2}\) fixation in most of the particle interior is supported by \({{{\rm{SO}}}_{4}}^{2-}\) respiration, which confirms the importance of \({{{\rm{SO}}}_{4}}^{2-}\) reduction in particle-associated \({{\rm{N}}}_{2}\) fixation compared to \({{{\rm{NO}}}_{3}}^{-}\) reduction, supporting hypothesis H4. Diazotrophy among \({{{\rm{SO}}}_{4}}^{2-}\) reducing bacteria is well established in various marine environments56,57.

Influence of sinking speed on particle-associated \({\rm{N}}_{2}\) fixation

The speed at which particles sink is a critical parameter since it determines the duration of exposure to environmental conditions (e.g., \({{\rm{O}}}_{2}\)) that influence \({{\rm{N}}}_{2}\) fixation inside particles. Sinking speed is affected by a multitude of factors related to particle composition, size, and density58,59,61,60, and no universal size-sinking velocity relationship exists35. We, therefore, examine scenarios with three types of particles: (1) natural marine snow measured in situ off California61, (2) laboratory-made diatom aggregates, and (3) coccolithophore aggregates measured in vitro50. Sinking speed is lowest for natural marine snow followed by diatom aggregates and coccolithophore aggregates (Fig. 7a). For the sake of simplicity, these particles are assumed to vary only in their sinking speeds and not in their initial concentrations and lability of polysaccharides and polypeptides. We again use the vertical profile of \({{\rm{O}}}_{2}\) and \({{{\rm{NO}}}_{3}}^{-}\) at the NAO but extended to 1500 m depth with a hypoxic region between 100 and 600 m depth (Fig. 7b).

Fig. 7: N2 fixation rates in different types of sinking particles with different sinking speeds.
figure 7

a Particle radius (cm) versus sinking speeds (m d−1) of natural marine snow (continuous line) measured in situ off California (\(v=108.95\times {r}_{{\rm{P}}}\)0.26;61) and of laboratory-made diatom (dashed line) and coccolithophore (dotted line) aggregates measured in vitro (\(v=484.09\times {r}_{{\rm{P}}}\)0.72 and \(v=719.44\times {r}_{{\rm{P}}}\)0.47, respectively50). b \({{\rm{O}}}_{2}\) and \({{{\rm{NO}}}_{3}}^{-}\) profiles of the Mauritanian upwelling zone in the North Atlantic Ocean (NAO)55. ce \({{\rm{N}}}_{2}\) fixation rates per unit volume of particles of different sizes and types. White and magenta dashed lines are same as in Fig. 6. The area enclosed within the horizontal green lines represents the low-\({{\rm{O}}}_{2}\) zone.

Three different aspects are evident from the analysis. First, when particles sink at a speed similar to natural marine snow (~15-75 m d−1), anoxic microenvironments are created (regions within magenta lines) and \({{\rm{N}}}_{2}\) fixation happens (indicated by color) in particles within the hypoxic zone (Fig. 7e). However, with higher sinking speeds similar to diatom (~2 to 180 m d−1) and coccolithophore (~20 to 375 m d−1) aggregates, the existence of anoxia and \({{\rm{N}}}_{2}\) fixation inside particles can extend beyond the hypoxic strata of the water column (Fig. 7d, e); both anoxic interior and \({{\rm{N}}}_{2}\) fixation are predicted even at 1800 m depth for large coccolithophore aggregates (not in the figure). Second, the depth window where \({{\rm{N}}}_{2}\) fixation occurs increases with particle sinking speed (Fig. 7c–e). Finally, our study predicts that the highest \({{\rm{N}}}_{2}\) fixation rate (1.46 μg N (cm3 particle)−1 d−1) is attained in large particles at intermediate sinking velocities, similar to that of diatom aggregates (Fig. 7d). Since the presence of higher concentrations of \({{{\rm{NO}}}_{3}}^{-}\) can stimulate \({{{\rm{NO}}}_{3}}^{-}\) respiration in a relatively larger volume fraction of particles, and due to the higher energy yield of \({{{\rm{NO}}}_{3}}^{-}\) respiration relative to \({{{\rm{SO}}}_{4}}^{2-}\) reduction, we speculate that higher concentrations of \({{{\rm{NO}}}_{3}}^{-}\) during the time of \({{\rm{N}}}_{2}\) fixation boosts \({{\rm{N}}}_{2}\) fixation rate in diatom aggregates. High sinking speed, similar to that of coccolithophore aggregates, transports particles quickly to deep water with high \({{{\rm{NO}}}_{3}}^{-}\) and \({{\rm{O}}}_{2}\) concentrations (Fig. 7e). We expect that high \({{{\rm{NO}}}_{3}}^{-}\) concentration favors relatively high \({{\rm{N}}}_{2}\) fixation, but high \({{\rm{O}}}_{2}\) concentration lowers the \({{\rm{N}}}_{2}\) fixation rate in coccolithophore aggregates. Therefore, the interplay between particle sinking speed and vertical water column profiles of \({{\rm{O}}}_{2}\) and \({{{\rm{NO}}}_{3}}^{-}\) concentrations determines the \({{\rm{N}}}_{2}\) fixation rate, supporting our hypothesis H5.

N2 fixation in contrasting oceanic environments

\({{\rm{N}}}_{2}\) fixation is dependent on the \({{\rm{O}}}_{2}\) and \({{{\rm{NO}}}_{3}}^{-}\) concentrations in the water column, but those are highly variable around the global ocean. We investigated \({{\rm{N}}}_{2}\) fixation rates in three contrasting water columns: an \({{\rm{O}}}_{2}\) minimum zone in the Eastern Tropical South Pacific (ETSP)55, the Mauritanian upwelling zone in the NAO55, and an open ocean site (OO; \({30.5}^{{\rm{o}}}\) N, \({52.5}^{{\rm{o}}}\) W)62,63. The ETSP has \({{\rm{O}}}_{2}\) minimum zones with <5 μmol \({{\rm{O}}}_{2}\) L−1 at ~150 to 600 m depth (Fig. 8a), the NAO has reduced \({{\rm{O}}}_{2}\) levels (~62.5 to 157 µmol L−1) at ~100 to 600 m (Fig. 8d), whereas the open ocean site has high \({{\rm{O}}}_{2}\) concentration throughout the water column (>157 µmol L−1; Fig. 8g). \({{{\rm{NO}}}_{3}}^{-}\) concentrations increase gradually up to 800 m depth, with decreasing levels from ETSP to NAO and to the open ocean site. We consider particles with sinking speed similar to natural marine snow and examine \({{\rm{N}}}_{2}\) fixation rates per unit volume of particle (Fig. 8c, f, i). To compare with existing measurements, we further calculate \({{\rm{N}}}_{2}\) fixation rates per unit volume of water (Fig. 8b, e, h) and depth-integrated \({{\rm{N}}}_{2}\) fixation rates by multiplying the number of particles with \({{\rm{N}}}_{2}\) fixation per particle (Eq. 40)34.

Fig. 8: Comparison of predicted N2 fixation rates in natural marine snow at three contrasting sites in terms of vertical distributions of O2 and NO3 in the ocean.
figure 8

ac \({{\rm{O}}}_{2}\) minimum zone in the Eastern Tropical South Pacific (ETSP)55, df the Mauritanian upwelling zone in the North Atlantic Ocean (NAO)55, and gi open ocean (OO; \({30.5}^{{\rm{o}}}\)N, \({52.5}^{{\rm{o}}}\)W)62,63. a, d, g \({{\rm{O}}}_{2}\) and \({{{\rm{NO}}}_{3}}^{-}\) concentrations in the upper 1000 m vertical water column. b, e, h \({{\rm{N}}}_{2}\) fixation rates per unit volume of water. c, f, i \({{\rm{N}}}_{2}\) fixation rates per unit volume of particle of different size classes.

Maximum \({{\rm{N}}}_{2}\) fixation rates per volume of particle and per volume of water lie within ranges 0.31–1.1 μg N (cm3 particle)−1 d−1 (Fig. 8c, f, i) and 0.14–0.7 μmol N m−3 d−1 (Fig. 8b, e, h). The highest rate of \({{\rm{N}}}_{2}\) fixation is in the NAO followed by the ETSP. Interestingly, \({{\rm{N}}}_{2}\) fixation is observed even at the high \({{\rm{O}}}_{2}\) concentrations of the open ocean, although, the \({{\rm{N}}}_{2}\) fixation rates and the depth window of \({{\rm{N}}}_{2}\) fixation are smaller than for the other two scenarios. Since the abundance and size spectrum of particles vary with latitude and seasonally at high latitudes64, we test the sensitivity of \({{\rm{N}}}_{2}\) fixation rates by varying the parameter determining the abundance (\({n}_{0}\)) and the proportion of large and small particles (\(\xi\)). We find that the \({{\rm{N}}}_{2}\) fixation rate varies between 0.3 and 1.7 μmol N m-3 d−1 inside sinking particles (Supplementary Fig. S6). Our modeled \({{\rm{N}}}_{2}\) fixation rates are comparable with bulk \({{\rm{N}}}_{2}\) fixation rates measured in the aphotic ocean (0–0.89 μmol N m−3 d−1)9,65 where active autotrophic cyanobacterial diazotrophs are not expected. Our calculated depth-integrated \({{\rm{N}}}_{2}\) fixation rates lie within the range 7.1–65.1 μmol N m−2 d−1. Empirical evidence from regions, where \({{\rm{N}}}_{2}\) fixation is dominated by heterotrophic bacteria, shows similar levels of depth-integrated \({{\rm{N}}}_{2}\) fixation rates; e.g., 6.27–16.6 μmol N m−2 d−1 in the equatorial and southern Indian Ocean66 and 12.4–190.9 μmol N m−2 d−1 in the South Pacific Gyre67. In comparison, depth-integrated \({{\rm{N}}}_{2}\) fixation rates by cyanobacteria in most regions of the global upper ocean are in the order of 1–100 μmol N m−2 d−168. Hence, taken together, our modeled rates for heterotrophic bacteria on particles are consistent with empirical bulk rates from the deep sea and comparable to areal rates measured for cyanobacteria. This supports empirical studies suggesting that aphotic fixation can account for a significant or even predominant fraction of water column \({{\rm{N}}}_{2}\) fixation65,69, and substantiates the idea that aphotic \({{\rm{N}}}_{2}\) fixation may be important to global nitrogen budget considerations5.

The effects of temperature variation

The variation in water temperature has the potential to alter \({{\rm{N}}}_{2}\) fixation rates through increases in metabolic rates and diffusive processes with temperature. Since sinking particles face a decreasing gradient in temperature as they descend through the water column, especially in the lower latitudes, we examined the effects of temperature on the amount of fixed \({{\rm{N}}}_{2}\) at an open ocean site in the NAO (OO; \({30.5}^{{\rm{o}}}\) N, \({52.5}^{{\rm{o}}}\) W)62,63. A small increase in the amount of total \({{\rm{N}}}_{2}\) fixation rate, from 7.1 μmol N m−2 d−1 to 8.4 μmol N m−2 d−1, and a slight downward shift in the positioning of \({{\rm{N}}}_{2}\) fixation in the water column was observed (Supplementary Fig. S7). On one hand, elevated temperature increases \({{\rm{N}}}_{2}\) fixation rate by stimulating metabolic activity. On the other hand, elevated temperature stimulates the influx of \({{\rm{O}}}_{2}\) via diffusion, which hampers \({{\rm{N}}}_{2}\) fixation. Therefore, the impact of temperature on metabolic rates and diffusion tends to counter one another on sinking particles. Hence, even at a site showing a large decrease in temperature between surface and depth, the effects of temperature on \({{\rm{N}}}_{2}\) fixation are fairly small.

Conclusions and broader implications

Our model suggests that particle-associated heterotrophic \({{\rm{N}}}_{2}\) fixation is viable and reasonable based on the known properties and physics of marine particles and reveals a significant contribution to the oceanic biological \({{\rm{N}}}_{2}\) fixation. The likelihood and rate of \({{\rm{N}}}_{2}\) fixation associated with any individual particle will depend upon numerous factors. These include the vertical profiles of \({{\rm{O}}}_{2}\) and \({{{\rm{NO}}}_{3}}^{-}\) through which the particle sinks, but in particular also the particle composition and bioavailability, including the initial polysaccharide and polypeptide concentrations, together with the size, sinking speed, and abundance of particles, as suggested by the model sensitivity analysis. We show how low-\({{\rm{O}}}_{2}\) or anoxic zones generated inside sinking particles by microbial respiration provide conditions suitable for heterotrophic \({{\rm{N}}}_{2}\) fixation, however, only in particles larger than about 0.03 cm in radius. Moreover, we show that these anoxic microenvironments can promote anaerobic respiratory processes that even extend into well-oxygenated deep waters. Interestingly, our simulations suggest that even in particles that favor \({{\rm{N}}}_{2}\) fixation at a point in their descent, the window of time (depth) where diazotrophy occurs is likely to be short. However, despite the necessity of several coinciding environmental conditions for \({{\rm{N}}}_{2}\) fixation in particles, the criteria are met in natural particles. Because of the huge number and heterogeneity among particles sinking in the ocean43, it is highly likely that a large number of individual particles at any given time might meet these criteria and in doing so, confer a fitness advantage on a subset of bacteria that retain the ability to fix nitrogen. This may explain the ubiquity and persistence of the genetic signature for heterotrophic \({{\rm{N}}}_{2}\) fixation throughout the oceans8. The combined knowledge of the probability density of particle sizes, compositions, and sinking speeds is suggested to predict the average rates of \({{\rm{N}}}_{2}\) fixation associated with particles.

Our model makes several interesting and potentially testable predictions: First, the C:N composition of particle “trails” will reflect the interior state and might be a way to probe the response of different particle types or conditions. Second, the model predicts a “preference” for \({{{\rm{SO}}}_{4}}^{2-}\) electron acceptor over \({{{\rm{NO}}}_{3}}^{-}\) in low-oxygen particles. Third, heterotrophic diazotrophs mostly use local and ephemeral oxygen conditions and get windows of opportunity for their \({{\rm{N}}}_{2}\) fixation. Fourth, \({{\rm{N}}}_{2}\) fixation can occur on large particles with high concentrations of polysaccharides and polypeptides in fully oxygenated marine waters, but also on older less substrate-rich particles if oxygen concentration in the surrounding water is low. These predictions could be promoted as perspectives for future experiments.

Methods

The cell model

Growth rate of a cell

The growth rate of a bacteria cell depends on the acquisition of C (from the particle) and N (from the particle and through \({{\rm{N}}}_{2}\) fixation), as well as on metabolic expenses in terms of C.

Uptake of C and N

Bacteria get C from glucose and both C and N from amino acids. The total amount of C available for the cell from monomers is (units of C per time)

$${J}_{{\rm{DOC}}}={f}_{{\rm{G,C}}}J_{G}+{f}_{{\rm{A}},{\rm{C}}}{J}_{{\rm{A}}},$$
(8)

and the amount of N available from monomer is (N per time)

$${J}_{{\rm{DON}}}={f}_{{\rm{A}},{\rm{N}}}{J}_{{\rm{A}}},$$
(9)

where \({J}_{\rm{G}}\) and \({J}_{\rm{A}}\) are uptake rates of glucose and amino acids, \({f}_{\rm{G,C}}\) is the fraction of C in glucose, and \({f}_{\rm{A,C}}\) and \({f}_{\rm{A,N}}\) are fractions of C and N in amino acids.

The rate of obtaining N through \({{\rm{N}}}_{2}\) fixation is:

$${J}_{{{\rm{N}}}_{2}}({{\psi }})={{\psi }}{M}_{{{\rm{N}}}_{2}},$$
(10)

where \({\psi }\,(0 < {{\psi }} < 1)\) regulates \({{\rm{N}}}_{2}\) fixation rate and fixation can happen at a maximum rate \({M}_{{{\rm{N}}}_{2}}\). \({{\rm{N}}}_{2}\) fixation is only limited by the maximum \({{\rm{N}}}_{2}\) fixation rate as dissolved dinitrogen (\({{\rm{N}}}_{2}\)) gas in seawater is assumed to be unlimited70.

The total uptake of C and N from different sources becomes

$${J}_{{\rm{C}}}={J}_{{\rm{DOC}}}$$
(11)
$${J}_{{\rm{N}}}({{\psi }})={J}_{{\rm{DON}}}+{J}_{{{\rm{N}}}_{2}}({{\psi }})$$
(12)

Costs

Respiratory costs of cellular processes together with \({{\rm{N}}}_{2}\) fixation and its associated \({{\rm{O}}}_{2}\) removal cost depend on the cellular \({{\rm{O}}}_{2}\) concentration. Two possible scenarios can be observed:

Case 1: When \({O}_{2}\) concentration is sufficient to maintain aerobic respiration

Respiratory costs for bacterial cellular maintenance can be divided into two parts: one dependent on limiting substrates and the other one is independent of substrate concentration71. Here we consider only the basal respiratory cost \({R}_{\rm{B}}{x}_{\rm{B}}\), which is independent of the limiting substrates and is assumed as proportional to the mass of the cell \({x}_{B}\) (μg C). In order to solubilize particles, particle-attached bacteria produce ectoenzymes that cleave bonds to make molecules small enough to be transported across the bacterial cell membrane. Cleavage is represented by a biomass-specific ectoenzyme production cost \({R}_{\rm{E}}\)72. The metabolic costs associated with the uptake of hydrolysis products and intracellular processing are assumed to be proportional to the uptake (\({J}_{i}\)): \({R}_{{\rm{G}}}{J}_{{\rm{G}}}\) and \({R}_{{\rm{A}}}{J}_{{\rm{A}}}\) where the \({R}_{i}\)’s are costs per unit of resource uptake. In a similar way, the metabolic cost of \({{\rm{N}}}_{2}\) fixation is assumed as proportional to the \({{\rm{N}}}_{2}\) fixation rate: \({R}_{{{\rm{N}}}_{2}}{\rho }_{{\rm{CN}},{\rm{B}}}{J}_{{{\rm{N}}}_{2}}\), where \({\rho }_{{\rm{CN}},{\rm{B}}}\) is the bacterial C:N ratio. If we define all the above costs as direct costs, then the total direct respiratory cost becomes

$${R}_{{\rm{D}}}({{\psi }})={R}_{{\rm{B}}}{x}_{{\rm{B}}}+{R}_{{\rm{E}}}{x}_{{\rm{B}}}+{R}_{{\rm{G}}}{J}_{{\rm{G}}}+{R}_{{\rm{A}}}{J}_{{\rm{A}}}+{R}_{{{\rm{N}}}_{2}}{\rho }_{{\rm{CN}},{\rm{B}}}{J}_{{{\rm{N}}}_{2}}({{\psi }}).$$
(13)

Indirect costs related to \({{\rm{N}}}_{2}\) fixation arises from the removal of \({{\rm{O}}}_{2}\) from the cell and the production/replenishment of nitrogenase as the enzyme is damaged by \({{\rm{O}}}_{2}\). The cell can remove \({{\rm{O}}}_{2}\) either by increasing respiration73 or by increasing the production of nitrogenase enzyme itself74. Here we consider only the process of \({{\rm{O}}}_{2}\) removal by increasing respiration. To calculate this indirect cost, the concentration of \({{\rm{O}}}_{2}\) present in the cell needs to be estimated.

Since the time scale of \({{\rm{O}}}_{2}\) concentration inside a cell is short, we have assumed a pseudo steady state inside the cell; the \({{\rm{O}}}_{2}\) diffusion rate inside a cell is always balanced by the respiration rate14, which can be expressed as

$${\rho }_{{\rm{CO}}}{F}_{{{\rm{O}}}_{2}}={R}_{{\rm{D}}}\left({{\psi }}\right).$$
(14)

Here \({\rho }_{{\rm{CO}}}\) is the conversion factor of respiratory \({{\rm{O}}}_{2}\) to C equivalents and \({F}_{{{\rm{O}}}_{2}}\) is the actual \({{\rm{O}}}_{2}\) diffusion rate into a cell from the particle and can be calculated as

$${F}_{{{\rm{O}}}_{2}}=4{\rm{\pi }}{r}_{{\rm{B}}}{K}_{{{\rm{O}}}_{2}}\left({X}_{{{\rm{O}}}_{2}}-{X}_{{{\rm{O}}}_{2},{\rm{C}}}\right),$$
(15)

where \({r}_{{\rm{B}}}\) is the cell radius, \({X}_{{{\rm{O}}}_{2}}\) is the local \({{\rm{O}}}_{2}\) concentration inside the particle, \({X}_{\rm{{O}}_{2},{\rm{C}}}\) is the cellular \({{\rm{O}}}_{2}\) concentration, and \({K}_{{{\rm{O}}}_{2}}\) is the effective diffusion coefficient of \({{\rm{O}}}_{2}\) over cell membrane layers. The effective diffusion coefficient can be calculated according to Inomura et al.14 in terms of diffusion coefficient inside particles (\({\bar{D}}_{{{\rm{O}}}_{2}}\)), the diffusivity of cell membrane layers relative to water (\({\varepsilon }_{{\rm{m}}}\)), the radius of cellular cytoplasm (\({r}_{{\rm{C}}}\)), and the thickness of cell membrane layers (\({L}_{{\rm{m}}}\)) as

$${K}_{{{\rm{O}}}_{2}}={\bar{D}}_{{{\rm{O}}}_{2}}\frac{{\varepsilon }_{{\rm{m}}}({r}_{{\rm{C}}}+{L}_{{\rm{m}}})}{{\varepsilon }_{{\rm{m}}}{r}_{{\rm{C}}}+{L}_{{\rm{m}}}}.$$
(16)

The apparent diffusivity inside particles (\({\bar{D}}_{{{\rm{O}}}_{2}}\)) is considered as a fraction \({f}_{{{\rm{O}}}_{2}}\) of the diffusion coefficient in seawater (\({D}_{{{\rm{O}}}_{2}}\))

$${\bar{D}}_{{{\rm{O}}}_{2}}={f}_{{{\rm{O}}}_{2}}{D}_{{{\rm{O}}}_{2}}.$$
(17)

Combining (14) and (15) gives the cellular \({{\rm{O}}}_{2}\) concentration \({X}_{{\rm{O}}_{2},{\rm{C}}}\) as

$${X}_{{{\rm{O}}}_{2},{\rm{C}}}={{\max }}\left[0,{X}_{{{\rm{O}}}_{2}}-\frac{{R}_{{\rm{D}}}\left({{\psi }}\right)}{4{\rm{\pi }}{r}_{{\rm{B}}}{K}_{{{\rm{O}}}_{2}}{\rho }_{{\rm{CO}}}}\right].$$
(18)

If there is excess \({{\rm{O}}}_{2}\) present in the cell after respiration (\({X}_{{\rm{O}}_{2},{\rm{C}}} \,> \, 0\)), then the indirect cost of removing the excess \({{\rm{O}}}_{2}\) to be able to perform \({{\rm{N}}}_{2}\) fixation can be written as

$${R}_{{{\rm{O}}}_{2}}\left({{\psi }}\right)=H\left({{\psi }}\right){\rho }_{{\rm{CO}}}4{\rm{\pi }}{r}_{{\rm{B}}}{K}_{{{\rm{O}}}_{2}}{X}_{\rm{{O}}_{2},{\rm{C}}},$$
(19)

where \(H({{\psi }})\) is the Heaviside function:

$$H\left({{\psi }}\right)=\left\{\begin{array}{cc}0,&{\rm{if}}{\,}{{\psi }}=0\\ 1, &{\rm{if}}{\,}{{\psi }} \,> \, 0\end{array}\right..$$
(20)

Therefore, the total aerobic respiratory cost becomes:

$${R}_{{\rm{tot}},{\rm{A}}}\left({{\psi }}\right)={R}_{{\rm{D}}}\left({{\psi }}\right)+{R}_{{{\rm{O}}}_{2}}\left({{\psi }}\right).$$
(21)

Case 2: Anaerobic respiration

When available \({{\rm{O}}}_{2}\) is insufficient to maintain aerobic respiration (\({R}_{{\rm{tot}}}\left({{\psi }}\right) \,> \, {\rho }_{{\rm{CO}}}{F}_{{{\rm{O}}}_{2},{{\max }}}\)), cells use \({{{\rm{NO}}}_{3}}^{-}\) and \({{{\rm{SO}}}_{4}}^{2-}\) for respiration. The potential \({{{\rm{NO}}}_{3}}^{-}\) uptake, \({J}_{{{\rm{NO}}}_{3},{\rm{pot}}}\), is

$${J}_{{{\rm{NO}}}_{3},{\rm{pot}}}={M}_{{{\rm{NO}}}_{3}}\frac{{A}_{{{\rm{NO}}}_{3}}{X}_{{{\rm{NO}}}_{3}}}{{A}_{{{\rm{NO}}}_{3}}{X}_{{{\rm{NO}}}_{3}}+{M}_{{{\rm{NO}}}_{3}}},$$
(22)

where \({M}_{{{\rm{NO}}}_{3}}\) and \({A}_{{{\rm{NO}}}_{3}}\) are maximum uptake rate and affinity for \({{{\rm{NO}}}_{3}}^{-}\) uptake, respectively. However, the actual rate of \({{{\rm{NO}}}_{3}}^{-}\) uptake, \({J}_{{{\rm{NO}}}_{3}}\), is determined by cellular respiration and can be written as

$${J}_{{{\rm{NO}}}_{3}}={{\min }}\left({J}_{{{\rm{NO}}}_{3},{\rm{pot}}},{{\max }}\left(0,\frac{{R}_{{\rm{tot}},{\rm{A}}}\left({{\psi }}\right)-{\rho }_{{\rm{CO}}}{F}_{{{\rm{O}}}_{2},{{\max }}}}{{\rho }_{{\rm{C}}{{\rm{NO}}}_{3}}}\right)\right),$$
(23)

where \({\rho }_{{\rm{C}}{{\rm{NO}}}_{3}}\) is the conversion factor of respiratory \({{{\rm{NO}}}_{3}}^{-}\) to C equivalents and the maximum \({{\rm{O}}}_{2}\) diffusion rate into a cell \({F}_{{{\rm{O}}}_{2},{{\max }}}\) can be obtained by making cellular \({{\rm{O}}}_{2}\) concentration \({X}_{{{\rm{O}}}_{2},{\rm{c}}}\) zero in (15) as

$${F}_{{{\rm{O}}}_{2},{{\max }}}=4{\rm{\pi }}{r}_{{\rm{B}}}{K}_{{{\rm{O}}}_{2}}{X}_{{{\rm{O}}}_{2}},$$
(24)

Further, in the absence of sufficient \({{{\rm{NO}}}_{3}}^{-}\), the cell uses \({{{\rm{SO}}}_{4}}^{2-}\) as an electron acceptor for respiration. Since the average concentration of \({{{\rm{SO}}}_{4}}^{2-}\) in seawater is 29 mmol L−175, \({{{\rm{SO}}}_{4}}^{2-}\) is a nonlimiting nutrient for cell growth and the potential uptake rate of \({{{\rm{SO}}}_{4}}^{2-}\) is mainly governed by the maximum uptake rate as

$${J}_{{{\rm{SO}}}_{4},{\rm{pot}}}={M}_{{{\rm{SO}}}_{4}},$$
(25)

where \({M}_{{{\rm{SO}}}_{4}}\) is the maximum uptake rate for \({{{\rm{SO}}}_{4}}^{2-}\) uptake. The actual rate of \({{{\rm{SO}}}_{4}}^{2-}\) uptake, \({J}_{{{\rm{SO}}}_{4}}\), can be written as

$${J}_{{{\rm{SO}}}_{4}}={{\min }}\left({J}_{{{\rm{SO}}}_{4},{\rm{pot}}},{{\max }}\left(0,\frac{{R}_{{\rm{tot}},{\rm{A}}}\left({{\psi }}\right)-{\rho }_{{\rm{CO}}}{F}_{{{\rm{O}}}_{2},{{\max }}}-{\rho }_{{\rm{CN}}{{\rm{O}}}_{3}}{F}_{{{\rm{NO}}}_{3},{\rm{pot}}}}{{\rho }_{{\rm{C}}{{\rm{SO}}}_{4}}}\right)\right),$$
(26)

where \({\rho }_{{\rm{C}}{{\rm{SO}}}_{4}}\) is the conversion factor of respiratory \({{{\rm{SO}}}_{4}}^{2-}\) to C equivalents.

According to formulations (23) and (26), \({{{\rm{NO}}}_{3}}^{-}\) and \({{{\rm{SO}}}_{4}}^{2-}\) uptake occurs only when the diffusive flux of \({{\rm{O}}}_{2}\), and both \({{\rm{O}}}_{2}\) and \({{{\rm{NO}}}_{3}}^{-}\) are insufficient to maintain respiration\(.\) Moreover, the uptake rates of \({{{\rm{NO}}}_{3}}^{-}\) and \({{{\rm{SO}}}_{4}}^{2-}\) are regulated according to the cells’ requirements.

Uptakes of \({{{\rm{NO}}}_{3}}^{-}\) and \({{{\rm{SO}}}_{4}}^{2-}\) incur extra metabolic costs \({R}_{{{\rm{NO}}}_{3}}{\rho }_{{\rm{C}}{{\rm{NO}}}_{3}}{J}_{{{\rm{NO}}}_{3}}\) and \({R}_{{{\rm{SO}}}_{4}}{\rho }_{{\rm{C}}{{\rm{SO}}}_{4}}{J}_{{{\rm{SO}}}_{4}}\), where \({R}_{{{\rm{NO}}}_{3}}\) and \({R}_{{{\rm{SO}}}_{4}}\) are costs per unit of \({{{\rm{NO}}}_{3}}^{-}\) and \({{{\rm{SO}}}_{4}}^{2-}\) uptake. The total respiratory cost can be written as

$${R}_{{\rm{tot}}}\left({{\psi }}\right)={R}_{{\rm{tot}},{\rm{A}}}\left({{\psi }}\right)+{R}_{{{\rm{NO}}}_{3}}{\rho }_{{\rm{C}}{{\rm{NO}}}_{3}}{J}_{{{\rm{NO}}}_{3}}+{R}_{{{\rm{SO}}}_{4}}{\rho }_{{\rm{C}}{{\rm{SO}}}_{4}}{J}_{{{\rm{SO}}}_{4}}.$$
(27)

Synthesis and growth rate

The assimilated C and N are combined to synthesize new structure. The synthesis rate is constrained by the limiting resource (Liebig’s law of the minimum) and by available electron acceptors such that the total flux of C available for growth \({J}_{{\rm{tot}}}\) (μg C d−1) is:

$${J}_{{\rm{tot}}}\left({{\psi }}\right)={{\min }}\left[{J}_{{\rm{C}}}-{R}_{{\rm{tot}}}\left({{\psi }}\right),{\rho }_{{\rm{CN,B}}}{J}_{{\rm{N}}}\left({{\psi }}\right),{\rho }_{{\rm{CO}}}{F}_{{{\rm{O}}}_{2}}+{\rho }_{{\rm{C}}{{\rm{NO}}}_{3}}{J}_{{{\rm{NO}}}_{3}}+{\rho }_{{\rm{C}}{{\rm{SO}}}_{4}}{J}_{{{\rm{SO}}}_{4}}\right].$$
(28)

Here, the total available C for growth is \({J}_{{\rm{C}}}-{R}_{{\rm{tot}}}({{\psi }})\), the C required to synthesize biomass from N source is \({\rho }_{{\rm{CN}},B}{J}_{\rm{N}}\), and the C equivalent inflow rate of electron acceptors to the cell is \({\rho }_{{\rm{CO}}}{F}_{{\rm{O}}_{2}}+{\rho }_{{\rm{C}}{{\rm{NO}}}_{3}}{J}_{{{\rm{NO}}}_{3}}+{\rho }_{{\rm{C}}{{\rm{SO}}}_{4}}{J}_{{{\rm{SO}}}_{4}}\). We assume that excess C or N is released from the cell instantaneously.

Synthesis is not explicitly limited by a maximum synthesis capacity; synthesis is constrained by the C and N uptake in the functional responses (Eqs. 34 and 35). The division rate \(\mu\) of the cell (d−1) is the total flux of C available for growth divided by the C mass of the cell (\({x}_{\rm{B}}\)):

$$\mu ({{\psi }})={J}_{{\rm{tot}}}({{\psi }})/{x}_{\rm{B}}.$$
(29)

The resulting division rate, \(\mu\), is a measure of the bacterial fitness and we assume that the cell regulates its \({{\rm{N}}}_{2}\) fixation rate depending on the environmental conditions to gain additional N while maximizing its growth rate. The optimal value of the parameter regulating \({{\rm{N}}}_{2}\) fixation \({{\psi }}\) (\(0\le {{\psi }}\le 1\)) then becomes:

$${{{\psi }}}^{\ast }={{\arg }}\mathop{{{\max }}}\limits_{{{\psi }}}\{\mu ({{\psi }})\},$$
(30)

and the corresponding optimal division rate becomes

$${\mu }^{\ast }=\mu \left({{{\psi }}}^{\ast }\right).$$
(31)

The particle model

We consider a sinking particle of radius \({r}_{{\rm{P}}}\) (cm) and volume \({V}_{{\rm{P}}}\) (cm3) (Supplementary Fig. S1). The particle contains facultative nitrogen-fixing bacterial population \(B(r)\) (cells L−1), polysaccharides \({C}_{{\rm{P}}}(r)\) (μg G L−1), and polypeptides \({P}_{{\rm{P}}}(r)\) (μg A L−1) at a radial distance \(r\) (cm) from the center of the particle, where G and A stand for glucose and amino acids. We assume that only fractions \({f}_{{\rm{C}}}\) and \({f}_{{\rm{P}}}\) of these polymers are labile (\({C}_{{\rm{L}}}(r)={f}_{{\rm{C}}}{C}_{{\rm{P}}}(r),\) \({P}_{{\rm{L}}}(r)={f}_{{\rm{P}}}{P}_{{\rm{P}}}(r)\)), i.e., accessible by bacteria. Bacterial enzymatic hydrolysis converts the labile polysaccharides and polypeptides into monosaccharides (glucose) (\(G\) μg G L−1) and amino acids (\(A\) μg A L−1) that are efficiently taken up by bacteria. Moreover, the particle contains \({{\rm{O}}}_{2}\), \({{{\rm{NO}}}_{3}}^{-}\), and \({{{\rm{SO}}}_{4}}^{2-}\) with concentrations \({X}_{{{\rm{O}}}_{2}}(r)\) (μmol O2 L−1), \({X}_{{{\rm{NO}}}_{3}}(r)\) (μmol NO3 L−1), and \({X}_{{{\rm{SO}}}_{4}}(r)\) (μmol SO4 L−1). Glucose and amino acids diffuse out of the particle whereas \({{\rm{O}}}_{2}\) and \({{{\rm{NO}}}_{3}}^{-}\) diffuse into the particle from the surrounding environment. Due to the high concentration of \({{{\rm{SO}}}_{4}}^{2-}\) in ocean waters, we assume that \({{{\rm{SO}}}_{4}}^{2-}\) is not diffusion limited inside particles, its uptake is limited by the maximum uptake capacity due to physical constraint. The interactions between particle, cells, and the surrounding environment are explained in Supplementary Fig. S1 and equations are provided in Table 1 of the main text.

We assume that labile polysaccharide (\({C}_{{\rm{L}}}\)) and polypeptide (\({P}_{{\rm{L}}}\)) are hydrolyzed into glucose and amino acids at rates \({J}_{{\rm{C}}}\) and \({J}_{{\rm{P}}}\) with the following functional form

$${J}_{{\rm{C}}}={h}_{{\rm{C}}}\frac{{A}_{{\rm{C}}}{C}_{{\rm{L}}}}{{h}_{{\rm{C}}}+{A}_{{\rm{C}}}{C}_{{\rm{L}}}}$$
(32)
$${J}_{{\rm{P}}}={h}_{{\rm{P}}}\frac{{A}_{{\rm{P}}}{P}_{{\rm{L}}}}{{h}_{{\rm{P}}}+{A}_{{\rm{P}}}{P}_{{\rm{L}}}}$$
(33)

where \({h}_{{\rm{C}}}\) and \({h}_{{\rm{P}}}\) are maximum hydrolysis rates of the carbohydrate and peptide pool, and \({A}_{{\rm{C}}}\) and \({A}_{{\rm{P}}}\) are respective affinities. \({J}_{{\rm{G}}}\) and \({J}_{{\rm{A}}}\) represent uptake of glucose and amino acids:

$${J}_{{\rm{G}}}={M}_{{\rm{G}}}\frac{{A}_{{\rm{G}}}G}{{A}_{{\rm{G}}}G+{M}_{{\rm{G}}}}$$
(34)
$${J}_{{\rm{A}}}={M}_{{\rm{A}}}\frac{{A}_{{\rm{A}}}A}{{A}_{{\rm{A}}}A+{M}_{{\rm{A}}}}$$
(35)

where \({M}_{{\rm{G}}}\) and \({M}_{{\rm{A}}}\) are maximum uptake rates of glucose and amino acids, whereas \({A}_{{\rm{G}}}\) and \({A}_{{\rm{A}}}\) are corresponding affinities. Hydrolyzed monomers diffuse out of the particle at a rate \({D}_{{\rm{M}}}\).

\({\mu }^{\ast }\) is the optimal division rate of cells (Eq. 31) and \({m}_{\rm{B}}\) represents the mortality rate (including predation) of bacteria. \({F}_{{{\rm{O}}}_{2}}\) and \({J}_{{{\rm{NO}}}_{3}}\) represent the diffusive flux of \({{\rm{O}}}_{2}\) and the consumption rate of \({{{\rm{NO}}}_{3}}^{-}\), respectively, through the bacterial cell membrane. \({\bar{D}}_{{{\rm{O}}}_{2}}\) and \({\bar{D}}_{{{\rm{NO}}}_{3}}\) are diffusion coefficients of \({{\rm{O}}}_{2}\) and \({{{\rm{NO}}}_{3}}^{-}\) inside the particle.

At the center of the particle (\(r=0\)) the gradient of all quantities vanishes:

$${\left.\frac{\partial G}{\partial r}\right|}_{r=0}={\left.\frac{\partial A}{\partial r}\right|}_{r=0}={\left.\frac{\partial {X}_{{{\rm{O}}}_{2}}}{\partial r}\right|}_{r=0}={\left.\frac{\partial {X}_{{\rm{N}}{{\rm{O}}}_{3}}}{\partial r}\right|}_{r=0}=0$$
(36)

At the surface of the particle (\(r={r}_{{\rm{P}}}\)) concentrations are determined by the surrounding environment:

$${\left.G\right|}_{r={r}_{{\rm{P}}}}={G}_{\infty },{\left.A\right|}_{r={r}_{{\rm{P}}}}={A}_{\infty },{\left.{X}_{{{\rm{O}}}_{2}}\right|}_{r={r}_{{\rm{P}}}}={X}_{{{\rm{O}}}_{2},\infty },{\left.{X}_{{{\rm{NO}}}_{3}}\right|}_{r={r}_{{\rm{P}}}}={X}_{{{\rm{NO}}}_{3},\infty }$$
(37)

where \({G}_{\infty },\) \({A}_{\infty ,}\) \({X}_{{{\rm{O}}}_{2},\infty }\) and \({X}_{{{\rm{NO}}}_{3},\infty }\) are concentrations of glucose, amino acids, \({{\rm{O}}}_{2}\), and \({{{\rm{NO}}}_{3}}^{-}\) in the environment.

Calculation of total N2 fixation rate

The total amount of fixed \({{\rm{N}}}_{2}\) in a specific size class of particle, \({{\rm{N}}}_{{\rm{fix}},{\rm{P}}}\) (\({\rm{\mu }}\)g N particle−1), is calculated as

$${{\rm{N}}}_{{\rm{fix}},{\rm{P}}}=\int \int 4\pi {{r}_{{\rm{B}}}}^{2}B{J}_{{{\rm{N}}}_{2}}{\rm{d}}{r}_{{\rm{P}}}{\rm{dz}},$$
(38)

where \({r}_{{\rm{P}}}\) (cm) is the particle radius and z (m) represents the water column depth.

\({{\rm{N}}}_{2}\) fixation rate per unit volume of water, \({{\rm{N}}}_{{\rm{fix}},{\rm{V}}}\left(t\right)\) (\({\rm{\mu }}{\rm{mol}}\) N m−3 d−1), is calculated as

$${{\rm{N}}}_{{\rm{fix}},{\rm{V}}}=\int \int 4\pi {{r}_{{\rm{B}}}}^{2}\rho B{J}_{{{\rm{N}}}_{2}}n(x){\rm{d}}{r}_{{\rm{P}}}{\rm{d}}x,$$
(39)

Here \(x\) (cm) represents the size range (radius) of particles, \(\rho\) is the fraction of diazotrophs of the total heterotrophic bacteria, and \(n(x)\) (number of particles per unit volume of water per size increment) is the size spectrum of particles that is most commonly approximated by a power law distribution of the form

$$n(x)={n}_{0}{(2x)}^{\xi }$$
(40)

where \({n}_{0}\) is a constant that controls total particle abundance and the slope \(\xi\) represents the relative concentration of small to large particles: the steeper the slope, the greater the proportion of smaller particles and the flatter the slope, and the greater the proportion of larger particles34.

Depth-integrated \({{\rm{N}}}_{2}\) fixation rate, \({{\rm{N}}}_{{\rm{fix}},{\rm{D}}}\) (\({\rm{\mu }}{\rm{mol}}\) N m−2 d−1), can be obtained by

$${{\rm{N}}}_{{\rm{fix}},{\rm{D}}}\left(t\right)=\int {{\rm{N}}}_{{\rm{fix}},{\rm{V}}}{\rm{d}}z.$$
(41)

Assumptions and simplification in the modeling approach

According to our current model formulation, the particle size remains constant while sinking. However, in nature, particle size is dynamic due to processes like bacterial remineralization, aggregation, and disaggregation. We neglect these complications to keep the model simple and to focus on revealing the coupling between particle-associated environmental conditions and \({{\rm{N}}}_{2}\) fixation by heterotrophic bacteria. These factors can, however, possibly be incorporated by using in situ data or by using the relationship between carbon content and the diameter of particles48 and including terms for aggregation and disaggregation55.

Our model represents a population of facultative heterotrophic diazotrophs that grow at a rate similar to other heterotrophic bacteria but the whole community initiates \({{\rm{N}}}_{2}\) fixation when conditions become suitable. However, under natural conditions, diazotrophs may only constitute a fraction of the bacterial community, and their proliferation may be gradual21, presumably affected by multiple factors. In such case, our approach will overestimate diazotroph cell concentration and consequently the \({{\rm{N}}}_{2}\) fixation rate.

For simplicity, our approach includes only aerobic respiration, \({{{\rm{NO}}}_{3}}^{-}\) and \({{{\rm{SO}}}_{4}}^{2-}\) respiration, although many additional aerobic and anaerobic processes likely occur on particles (e.g Klawonn et al.19). To our knowledge, a complete picture of such processes, their interactions and effects on particle biochemistry is unavailable. For example, we have assumed that when \({{\rm{O}}}_{2}\) and \({{{\rm{NO}}}_{3}}^{-}\) are insufficient to maintain respiration, heterotrophic bacteria start reducing \({{{\rm{SO}}}_{4}}^{2-}\). However, \({{{\rm{SO}}}_{4}}^{2-}\) reduction has been detected only with a significant lag after the occurrence of anaerobic conditions, suggesting it as a slow adapted process76, whereas we assume it to be instantaneous. On the other hand, the lag may not be real but due to a so called cryptic sulfur cycle, where \({{{\rm{SO}}}_{4}}^{2-}\) reduction is accompanied by concurrent sulfide oxidation effectively masking sulfide production77. Hopefully, future insights into interactions between diverse aerobic and anaerobic microbial processes can refine our modelling approach and fine-tune predictions of biochemistry in marine particles.

Procedure of numerically obtaining optimal N2 fixation rate

To avoid making the optimization in Eq. (30) at every time step during the simulation, a lookup table of \({\mu }^{\ast }\) (Eq. 31) over realistic ranges of the four resources (glucose, amino acids, \({{\rm{O}}}_{2}\), and \({{{\rm{NO}}}_{3}}^{-}\)) and the parameter determining \({{\rm{N}}}_{2}\) fixation rate (\({{\psi }}\)) was created at the beginning of the simulation.

The effects of temperature on N2 fixation rate

To examine the role of temperature variation on \({{\rm{N}}}_{2}\) fixation rate in sinking particles, we consider hydrolysis of polysaccharide and polypeptide, uptake of glucose and amino acids, uptake of \({{{\rm{NO}}}_{3}}^{-}\), respiration, and diffusion dependent on temperature. Apart from diffusion, all other processes are multiplied by a factor \({Q}_{10}\) that represents the factorial increase in rates with \({10}^{0}\)C temperature increase. The rate \(R\) at a given temperature \(T\) is then

$$R={R}_{{\rm{ref}}}{{Q}_{10}}^{(T-{T}_{{\rm{ref}}})/10}.$$
(42)

Here the reference rate \({R}_{{\rm{ref}}}\) is defined as the rate at the reference temperature \({T}_{{\rm{ref}}}.\) We set the reference temperature \({T}_{{\rm{ref}}}\) at room temperature of 20 °C. The effect of temperature on the diffusion coefficient D for glucose, amino acids, \({{\rm{O}}}_{2}\), and \({{{\rm{NO}}}_{3}}^{-}\) is described by Walden’s rule:

$$D={D}_{{\rm{ref}}}{\eta }_{{\rm{ref}}}T/(\eta {T}_{{\rm{ref}}})$$
(43)

where \(\eta\) is the viscosity of water at the given temperature \(T\), and \({D}_{{\rm{ref}}}\) and \({\eta }_{{\rm{ref}}}\) are diffusion coefficient and viscosity at \({T}_{{\rm{ref}}}\).

\({Q}_{10}\) values for different enzyme classes responsible for hydrolysis (\({Q}_{10,{\rm{h}}}\)) lie within the range 1.1–2.978. Here, we have chosen \({Q}_{10,{\rm{h}}}=2\) for hydrolysis from the middle of the prescribed range. The \({Q}_{10}\) values for uptake affinities (\({Q}_{10,{\rm{A}}}\)) are taken as 1.579. \({Q}_{10,{\rm{R}}}=2\) is chosen for all parameters related to respiration (\({R}_{{\rm{B}}}\), \({R}_{{\rm{E}}}\), \({R}_{{\rm{G}}}\), \({R}_{{\rm{A}}}\), \({R}_{{{\rm{N}}}_{2}}\), \({R}_{{{\rm{NO}}}_{3}}\), \({R}_{{{\rm{SO}}}_{4}}\))80. \({R}_{{\rm{ref}}}\) and \({D}_{{\rm{ref}}}\) are the values of \(R\)’s and \(D\)’s provided in Table S1. The reference viscosity (\({\eta }_{{\rm{ref}}}\)) and viscosities (\(\eta\)) at different temperatures are taken from Jumars et al.80.