Microbial communities are ubiquitous in natural and man-made environments and are routinely being applied for, e.g., crop management (
1), bioremediation (
2), wastewater treatment (
3), and bioenergy production (
4,
5). Hence, in terms of biotechnological applicability and environmental ecology, understanding key factors affecting microbial community development is indispensable (
6). The actively growing community in a natural habitat is predominantly defined in diversity and composition by abiotic factors, e.g., O
2, pH, salinity, and temperature (
7–11), where the chemical microenvironment is characterized by steep gradients susceptible to rapid changes. For example, pH is recognized as an important factor for species composition in, e.g., soil (
11–13), as different species prefer specific pH regimes (
14,
15). Albeit the strong environmental effect, microbial interactions also influence community composition, e.g., through molecular mechanisms, such as cooperative cross-feeding (
16–18) and cross-protection from antibiotics (
19,
20), or through competition by toxin secretion (
21). An additional mode of interaction is based on the ability of bacteria to alter their local environment, e.g., by changing O
2 and pH, by consumption of specific resources, by secretion of metabolites, or through the biochemical processes from metabolic activity causing a proton turnover (
22,
23). Local microbial pH drift is well known from several types of host-associated environments, such as the human-associated vaginal (
24) and oral (
25) microbiomes, as well as the well-known syntrophic relationship of industrial yogurt production by
Lactobacillus bulgaricus and
Streptococcus thermophilus (
26–29). Recently, Ratzke et al. showed through
in vitro studies that in unique cases, bacteria may even cause pH drift to such an extent that it becomes detrimental for the population, a phenomenon termed ecological suicide (
15). As pH is an important parameter for microbial life, changing the pH in the local environment will affect both the microbial population responsible for the change and the closest community members; such pH interactions in cocultures have been elegantly documented
in vitro and modeled by Ratzke and Gore (
14). Using specific laboratory isolates, Ratzke and Gore showed that the outcome of pH-driven interactions can be predicted when the pH drift and optimal growth pH are known for the interaction partners. The outcome of the interaction could then be categorized as, e.g., bistability, successive growth, extended suicide, or stabilization of growth. By example, stabilization defines the scenario where two bacteria, which on their own would change pH with detrimental consequences, can coexist by canceling each other's pH-drifting effects on the environment.
Diverse interactions occurring in bacterial communities often facilitate emergent properties, which are only observed in a community setting and not in monocultures of community members. These properties are commonly referred to as community-intrinsic properties (
30). An example of a community-intrinsic property is the synergistic biofilm formation recorded by Ren et al. (
31) for a model community consisting of four coisolated soil bacteria,
Stenotrophomonas rhizophila,
Xanthomonas retroflexus,
Microbacterium oxydans, and
Paenibacillus amylolyticus. Work on this community has established that cocultivation leads to enhanced biofilm formation, that all four species increase in biomass through biofilm cocultivation, and that all four species are indispensable for the synergy to occur (
31). The synergy can be linked to a specific spatial organization of community members during cocultivation in biofilms (
32), and metatranscriptomics (
33) and metaproteomics (
34) studies have identified amino acid cross-feeding as a potential driver of the synergy. However, the impact of the community on its surrounding environment and the mutual community-environment interplay have not been explored. In the present study, we applied high-resolution microsensor measurements of pH and O
2 (
35,
36) in liquid cultures and solid surfaces to elucidate the role of the chemical microenvironment on the observed community synergy within this model community. In line with observations from Ratzke and Gore, we find that three community members individually drive pH to unfavorable conditions hampering their own growth, whereas cocultivation leads to a stabilization of the environment, promoting community synergy.