4.1. Differences in Nitrogen Transformation Rates in Rhizosphere Sediments between Artificially Cultivated Ditches and Natural Ditches
The potential DR of sediments reflects the capacity of microorganisms to remove nitrogen [
70]; the DNRAR indicates the ability to convert nitrate to NH
4+-N, which plays a crucial role in maintaining nitrogen cycle balance [
49]; and the NFR signifies the availability of nitrogen in sediments, which is essential for sustaining plant productivity, microbial metabolism, and ecosystem health and stability [
71]. Our study revealed that the DRs of A-Phr and N-Phr were significantly greater than those of A-Typ and N-Typ (
Figure 3a), and the DNRAR of A-Phr was significantly greater than that of N-Phr (
Figure 3b), while the NFR of A-Typ was notably greater than that of N-Typ (
Figure 3c). These results are consistent with those of Cheng and White [
72] and confirm our first hypothesis, which suggests that artificially planted aquatic plants promote nitrogen transformation in sediments. This can be elucidated from the following perspectives: (1) In artificial planting, to ensure high survival rates, the roots are enveloped in soil rich in nutrients at the nursery to guarantee an ample supply of organic matter and nitrogen [
73]; concurrently, the vegetation coverage rate of artificial planting ditches is relatively high, reaching 57% (
Table 1), which mitigates water flow velocity and its erosive impact, thereby reducing nutrient loss [
74]. The TOC and NH
4+-N contents of A-Phr and A-Typ were significantly greater than those of N-Phr and N-Typ (
Table S2), providing sufficient substrates for microorganisms to promote nitrogen transformation. The DR and DNRAR were significantly positively correlated with the NH
4+-N content, and the NFR was significantly positively correlated with the TOC content (
Table S5), further confirming this observation. (2) Management measures for artificially planted ditches, such as weeding and transplanting, have been show to lead to increased sediment disturbance, promote internal nutrient release, and improve the oxygen conditions and water-holding capacity of sediments [
75]. This optimization of sediment structure provided more suitable oxidation‒reduction environments for microorganisms. A-Phr and A-Typ exhibited significantly greater ORP-W values than did N-Phr and N-Typ (
Table S1), with a significant positive correlation between the NFR and ORP-W (
Table S5), consequently leading to an increase in the NFR. (3) Various plant species can alter the physical and chemical properties of sediments and microbial communities, thereby facilitating plant growth through nutrient provision and alleviation of environmental stress [
76]. In our investigation, the combination of artificially planted
P. australis,
T. orientalis and
Nymphaea species could form a dense root network in the sediment, increasing the diversity and quantity of functional microorganisms and promoting functional microbial activity [
77]. The degradation of root exudates by microbial activity can improve the physicochemical properties of sediments, increase nutrient availability, and impact the structure and function of microbial communities [
78], ultimately leading to an increase in nitrogen transformation rates [
79]. However, it should be noted that the nitrogen transformation rate of artificially cultivated ditches may not always exceed that of natural ditches, as the biogeochemical process of sediments is inherently complex and dynamic. The nitrogen transformation rate is influenced by various factors, including the physical and chemical properties of sediments, vegetation status, microbial species and activities [
80,
81,
82].
4.2. Diversity and Composition of the Bacterial Community in Rhizosphere Sediments and Their Driving Factors
The diversity and composition of the rhizosphere sediment bacterial community serve as a unique functional conduit at the interface between plants and sediment, facilitating ecological functions such as sediment material cycling and energy flow while also contributing to sediment stability [
83,
84]. In this investigation, it was observed that the Chao1 and ACE richness indices of the A-Phr and A-Typ bacterial communities were significantly greater than those of the N-Phr and N-Typ bacterial communities (
Figure 4a, 4b), with a notably elevated relative abundance of the nitrogen-transforming bacteria
Bacteroidota and
Firmicutes in the A-Phr and A-Typ when contrasted with their counterparts in the natural ditches (
Figure 4d). These findings are largely consistent with previous studies by Hu et al. [
39], Fang et al. [
38], and Xiao et al. [
85], thereby providing support for our second hypothesis.
The high α diversity of the A-Phr and A-Typ bacterial communities may be attributed to the following reasons: (1) Cultivated reeds, cattails, and lotuses release oxygen through their roots, creating an oxidizing environment for microorganisms and resulting in a high ORP [
86]. This environment interacts with pH and temperature [
87], providing diverse aerobic or anaerobic environments and effective carbon sources for nitrifying/denitrifying bacteria [
88,
89]. The ORP serves as a fundamental indicator influencing the dynamics of the sediment microbial community [
90], and redox processes in sediments are closely associated with the oxygen concentration and vegetation [
91,
92]. Sediment carbon and nitrogen increase the abundance and diversity of rhizosphere sediment bacteria [
93], while nutrient input weakens the competition for resources, which is conducive to maintaining high bacterial alpha diversity [
94]. In this study, the primary environmental factors influencing bacterial community richness and diversity were ORP-W and the NH
4+-N and TOC contents (
Table S3), which supported our hypothesis and was largely consistent with the findings of Wang et al. [
95] and Song et al. [
40]. (2) There are interspecific differences in nutrient uptake between emergent and floating aquatic plants, which is beneficial for nutrient cycling and water purification in eutrophic wetlands [
96,
97], reducing water pollutants, improving water clarity and DO concentration, and promoting bacterial growth and reproduction [
98,
99]. Therefore, the combination of different aquatic plants provides microenvironments with different aerobic/anaerobic and carbon-nitrogen interactions through root oxygen release, root exudates, and nutrient uptake, which are crucial for maintaining sediment microbial diversity and health [
77,
100]. The ORP-W and NH
4+-N and TOC contents in A-Phr and A-Typ were significantly greater than those in N-Phr and N-Typ (
Table S1, S2). The Chao1 and ACE richness indices exhibited a significant positive correlation with the ORP-W and NH
4+-N content (
Figure 5a). These findings collectively support that the Chao1 and ACE richness indices of the bacterial community in the rhizosphere sediments of A-Phr and A-Typ are markedly greater than those in N-Phr and N-Typ carbon, nitrogen and DO in the rhizosphere sediments of emergent plants are the most important factors affecting the structure of the rhizosphere microbial community [
38]. When
P. australis,
T. orientalis and
N. tetragona were artificially planted, the introduction of rhizosphere soil significantly increased the TOC and NH4+-N contents of A-Phr and A-Typ (
Table S2). Moreover, human management activities have led to dynamic changes in water bodies, causing nutrient release from sediments in a suspended state and enhancing the availability of nutrients [
75]. The roots of emergent and floating aquatic plants in the artificially cultivated ditch secreted carbon-rich metabolites and significantly increased the DO-W concentration in the water around the rhizosphere of A-Phr and A-Typ through root oxygen release [
26,
101] (
Table S2). DO is the core component of rhizosphere microbial life activities. Microorganisms utilize organic metabolism to generate energy, which is then converted into carbon and nitrogen nutrients essential for organisms through respiration [
102]. Therefore, artificially cultivated ditches can offer more abundant carbon and nitrogen sources for microorganisms. Under appropriate carbon-nitrogen conditions, the rhizosphere sediments of
P. australis and
T. orientalis promote the enrichment of nitrogen-cycle bacteria such as
Proteobacteria, Bacteroidetes, Verrucomicrobiota, and
Firmicutes, which are differentially regulated between microhabitats and species [
103]. The
Proteobacteria phylum harbors a multitude of widely distributed nitrogen-transforming bacteria in various sedimentary environments, including those found in rice fields [
104], rivers [
105], and lakes [
106].
Anaeromyxobacter [
57],
Geobacter [
60],
Thiobacillus [
61]
, Hydrogenophaga [
62] and
Sulfuritalea [
66], which belong to the
Proteobacteria phylum, are the predominant genera involved in denitrification or the DNRA pathway. Their relative abundances in the rhizosphere sediments of the artificially cultivated ditch exceeded those of the natural ditches (
Figure 4e). Among them,
Anaeromyxobacter and
Geobacter exhibited significant positive correlations with the DOC/NO
3--N ratio and the NH
4+-N concentration and significant negative correlations with the NO
3--N concentration (
Figure 5c), consistent with the findings of Chen et al. [
107]. NH
4+-N and NO
3--N serve as crucial substrates or end products in sediment denitrification and DNRA [
13,
17]. Human intervention in artificially cultivated ditches [
75], plant root exudates, and nitrogen uptake and utilization [
26,
108] create more suitable environments for nitrogen transformation functional microorganisms. The
Bacteroidetes phylum includes denitrifying bacteria with
nirK or
nirS [
104], nitrogen fixation bacteria with
nifH [
106,
109], and DNRA bacteria [
110]. The
Verrucomicrobiota phylum has denitrifying or DNRA functions [
110,
111]. The
Firmicutes phylum plays an important role in sediment denitrification [
112] and nitrogen fixation [
106,
113] processes. Therefore, the dominant bacterial phyla of A-Phr were
Bacteroidota, Verrucomicrobiota, and
Firmicutes, while the dominant bacterial phyla of A-Typ were
Bacteroidota and
Firmicutes (
Figure 4d). The main influencing factors included the DOC, TN, TOC, Sand, and DO-W contents (
Table S3). These results confirmed a significantly greater abundance of the nitrogen cycle bacterial phyla
Bacteroidota, Verrucomicrobiota, and
Firmicutes in both A-Phr and A-Typ than in N-Phr and N-Typ.
4.3. Relative Abundance of Nitrogen Transformation Functional Genes in Rhizosphere Sediments and Their Driving Factors
Aquatic plants improve the rhizosphere environment, promote the growth of nitrogen transformation-related microorganisms, accelerate the denitrification of eutrophic wetlands, and optimize the effective utilization of biological nitrogen [
114,
115]. In this study, the primary pathways for nitrogen transformation in rhizosphere sediments included denitrification, assimilative nitrate reduction, dissimilatory nitrate reduction, and nitrogen fixation. The relative abundances of nitrification and anammox were less than 1% (
Figure 6a). Due to the low levels of DO ranging from 2.58 mg/L to 7.50 mg/L in the water surrounding the rhizosphere, the presence of facultative anaerobic conditions in the sediment environment, relatively high ECs ranging from 270 μs/cm to 518 μs/cm, and relatively low concentrations of NH
4+-N ranging from 1.35 mg/kg to 2.90 mg/kg (
Table S1, S2), nitrification and anammox were inhibited [
116,
117]. The abundances of denitrification genes (
napA and
norB), dissimilatory nitrate reduction genes (
nrfC and
nrfA), nitrification genes (
hao) and anammox genes (
hzsA and
hzsC) in A-Phr were significantly greater than those in N-Phr, and the abundance of nitrogen fixation genes (
nifD,
nifK, and
nifH) in A-Typ was also significantly greater than that in N-Typ (
Figure 6b, 6c), which is consistent with the findings of previous studies by Song et al. [
40] and Fang et al. [
38], confirming part of our second hypothesis.
Under facultative anaerobic conditions, denitrifying microorganisms can reduce NO
3--N to N
2O or N
2 [
118]. The periplasmic nitrate reductase
napA, which converts NO
3- to NO
2-; the nitrite reductases
nirS and
nirK, which convert NO
2- to NO; the nitric oxide reductase subunit B
norB; and the nitrous oxide reductase
nosZ, which converts NO to N
2 [
119,
120], are widely used as marker genes for analyzing denitrifying microbial communities [
14,
121]. In this study, the relative abundances of the
nirS,
nirK, and
nosZ genes of N-Phr involved in the denitrification pathway were greater than those of A-Phr, A-Typ, and N-Typ, while the relative abundances of the
napA and
norB genes of A-Phr were greater than those of A-Typ, N-Phr, and N-Typ (
Figure 6b).
This can be attributed to the following factors: (1) In the natural ditch with
P. australis, there was minimal human interference, and the sediments remained in a prolonged anaerobic state. The
nirS gene plays a crucial role in the anaerobic denitrification pathway [
122]. Our study revealed a significant negative correlation between the denitrification pathway,
nirS gene, and DO-W content (
Figure 5d,
Table S4), confirming the high abundance of the denitrification functional gene
nirS under anaerobic conditions. (2) Human management has led to changes in the DO, carbon, and nitrogen contents in the sediments of artificially cultivated ditches. A-Phr exhibited a high abundance of the aerobic denitrification gene
napA [
123], which is primarily supported by DOC as an electron donor and energy source [
124]. The denitrification pathway showed a significant positive correlation with the DOC content (
Figure 5d), and the
napA gene also exhibited a significant positive correlation with the DOC/NO
3--N ratio (
Table S4), providing further confirmation. (3) Artificial cultivation has led to an increase in the diversity of ecological niches in sediments, resulting in nearly equal distributions of
nirK/
nirS in the A-Phr and A-Typ sediments, which is consistent with the findings of Saarenheimo et al. [
125]. (4) Denitrifying bacteria, as heterotrophic microorganisms, tend to accumulate in facultative anaerobic and anaerobic zones due to their distinct oxygen and nutrient requirements [
126]. These bacteria can utilize nitrogen oxides as terminal electron acceptors in cellular bioenergy processes [
127] while using carbon sources as electron donors and energy sources [
123]. Anaerobic environments with high carbon sediment are considered hotspots for denitrification [
128]. The DO-W contents of A-Phr and N-Phr were relatively low, whereas the DOC content was relatively high (
Table S1, S2). Compared to the root system of
T. orientalis, the root system of
P. australis secretes more oxygen and sugary exudates, creating diverse anaerobic/aerobic environments and providing effective carbon sources for denitrifying bacteria [
26,
89]. Consequently, the denitrification functional genes of A-Phr and N-Phr exhibited higher expression levels than did those of
T. orientalis (
Figure 6a).
Under anaerobic conditions, DNRA initially reduces NO
3− to NO
2− and subsequently directly converts NO
2− to biologically more available NH
4+, thereby enhancing nitrogen utilization [
129,
130]. The expression of the nitrite reductase (cytochrome c-552)
nrfA is positively associated with DNRA activity [
131], and
nrfA serves as a marker gene [
18]. In this study, A-Phr exhibited a greater relative abundance of the
nrfA gene, which is involved in the DNRA pathway (
Figure 6b). There are several potential explanations for this observation: (1) As previously mentioned, A-Phr exhibited a higher DOC/NO
3--N ratio than N-Phr, which was advantageous for the distribution of nitrate in the DNRA process [
132], leading to the dominance of the DNRA process. Additionally, the elevated DOC/NO
3--N ratio had a positive impact on the interactions among rare microorganisms involved in the DNRA process [
133,
134]. In this study, we observed a significant positive correlation between the DNRA pathway and the DOC/NO
3—N ratio, as well as a negative correlation with the NO
3--N content (
Figure 5d), further confirming this finding. (2) In this study, we observed a significant positive correlation between the DNRA pathway, the
nrfA gene, and DOC content (
Figure 5d,
Table S4), suggesting that the higher DOC content of A-Phr serves as an important carbon source for DNRA. This increase in DOC content has been found to enhance the presence of the
nrfA gene and promote DNRA occurrence [
135,
136]. (3) The exudates in the rhizosphere of
P. australis provide ample carbon sources for the DNRA process [
137], leading to increased complexity and stability in microbial interactions, thereby enhancing the DNRA process in rhizosphere sediments [
138].
Nitrogen-fixing microorganisms convert N
2 into NH
4+ to provide plants with nutrients for absorption and utilization [
139] and represent the primary source of biologically available nitrogen. The
nifH gene serves as a crucial indicator for identifying nitrogen-fixing biological species and analyzing their nitrogen-fixing activity [
140]. In this study, A-Typ exhibited a relatively high abundance of genes involved in the nitrogen fixation pathway, including
nifD,
nifK, and
nifH (
Figure 6b). The potential factors may include the following: (1) The positive correlation between the nitrogen-fixing gene and ORP-W (
Figure 5d,
Table S4) may be attributed to the exudation of oxygen from roots, resulting in an increase in the ORP of A-Typ, thereby facilitating the acceleration of nitrogen fixation [
26]. (2) The positive correlation between nitrogen-fixing genes and DO-W (
Figure 5d,
Table S4) suggests a potentially abundant population of aerobic nitrogen-fixing bacteria in rhizosphere sediments [
141,
142], indicating the enhancement of an aerobic nitrogen-fixing microbial community by DO [
143]. (3) The genes associated with nitrogen fixation showed a significant negative correlation with DOC (
Figure 5d,
Table S4). This suggests that DOC, acting as a substrate, may enhance the proliferation of denitrifying bacteria and DNRA bacteria [
124,
136] while inhibiting nitrogen-fixing bacteria.
4.4. Influence of Environmental and Microbial Factors on the Nitrogen Conversion Rate of Sediment
Previous research has predominantly focused on the influence of environmental factors such as carbon and nitrogen on nitrogen transformation rates, highlighting the significance of abiotic factors [
144,
145]. Additionally, investigations have demonstrated that microorganisms play a central role in driving nitrogen transformation, suggesting that both biotic and abiotic factors regulate nitrogen transformation rates [
146,
147]. This study, which monitors both environmental and microbial factors in real time, can more effectively reveal the regulatory mechanisms of sediment nitrogen transformation [
80].
The nitrogen removal capacity of agricultural ditch systems in the Yellow River irrigation area is primarily evaluated through the measurement of the sediment denitrification rate [
148]. The denitrification rate is influenced mainly by environmental factors such as the NO
3—N, DOC/NO
3—N, TN, NO
3--W, and DOC contents, while the key microbial factor is the
norB gene (
Table S5). (1) The microenvironment of the rhizosphere varies among different plant species, leading to differences in the potential denitrification rates and abundance of denitrification functional genes [
13]. The cultivation of plants in drainage ditches has been shown to increase the DR [
149]. Due to the superior competitive advantage of a single plant community in terms of nitrogen uptake, it diminishes the available nitrate for denitrification. As a result, a multiplant community may not necessarily lead to an increase in the DR [
150]. Therefore, the difference in denitrification rates between A-Phr and N-Phr was not statistically significant (
Figure 3a). However, the root system of
P. australis can secrete more oxygen and sugar exudates than that of
T. orientalis [
26,
89], resulting in higher denitrification rates and abundances of denitrification functional genes in A-Phr and N-Phr than in
T. orientalis (
Figure 3a,
Figure 6a). (2) DOC is the most important carbon source for denitrifying microorganisms [
152]. The Weihe River in Xi’an, which is heavily influenced by agriculture, shows a significant positive correlation between the sediment denitrification rate and DOC content, as well as a significant positive correlation with the abundance of the
nirS and
nroB functional genes for denitrification [
86]. Organic carbon provides electrons and energy for nitrogen cycle microorganisms [
153,
154]. Due to agricultural fertilization, the NO
3--N load in rivers has increased [
155], resulting in alterations in sediment nitrogen cycling and the transformation of wetlands from active nitrogen “sources” to “sinks”. The elevated NO
3--N concentration in the overlying water and reduced TOC in the sediments led to a decrease in the nitrogen fixation rate and an increase in the denitrification rate [
156]. (3) Agricultural rivers have a relatively high denitrification rate due to their high nitrogen load [
157]. The potential denitrification rate of sediments in the Huaihe River is positively correlated with the abundance of the
nirS,
nirK, and
nosZ genes, while the NH
4+-N and TN contents contribute more to the variation in the denitrification rate [
147]. However, the rate of denitrification may be affected by the suppression of microorganisms, and the DR in river sediments influenced by agriculture is related to changes in microbial community composition and the abundance of the
nosZ gene, which is mainly inhibited by high NO
3--N concentrations [
158]. Therefore, variations in denitrification rates are driven by both denitrifying microorganisms and sediment physical and chemical properties, potentially due to different responses of denitrifying bacteria to environmental variables (NO
3--N, TN, DOC) [
159]. Furthermore, since the samples in this study were collected at only one time point, they only reflect the denitrification activity at a specific period, which has certain limitations. Further research is needed to study the temporal sequence changes in the structure of the denitrifying bacterial community and the DR.
The DNRAR is primarily influenced by environmental factors such as the NO
3--N content, the DOC/NO
3—N ratio and the NH
4+-N content, as well as microbial factors such as
nrfA and
nrfC genes (
Table S5). A-Phr contains a high concentration of the electron donor DOC and a low concentration of the electron acceptor NO
3--N (
Table S1, S2), creating a more favorable environment for DNRA [
160,
161]. Moreover, the DOC/NO
3--N ratio, organic carbon, and nitrate are important factors affecting the bacterial community and functional genes of DNRA [
81,
162]. DNRA bacteria have a high affinity for NO
3--N and are adapted to environments with high carbon and limited NO
3--N [
163]. Therefore, environmental and microbial factors jointly promote the DNRAR; for example, the DNRAR of sediments in the riparian zone is positively correlated with DOC/NO
3--N and significantly positively correlated with the abundance of the functional gene
nrfA [
86].
The primary environmental factors influencing the rate of nitrogen fixation included the ORP-W, TOC content, and DOC content, while the key microbial factors were the
nifD, nifK, and
nifH genes (
Table S5). Because A-Typ has a high ORP-W and TOC content (
Table S1, S2), it provides oxidation‒reduction conditions for nitrogen-fixing microorganisms and supplements energy for heterotrophic organisms [
164,
165]. Therefore, the nitrogen fixation rate of plant roots is related to the ORP, TOC content, and abundance of nitrogen-fixing microorganisms [
26,
166]. The findings of Spinette et al. [
167] suggest that the enrichment of organic matter in estuarine sediments promotes biological nitrogen fixation. Additionally, Luo et al. [
168] demonstrated a positive correlation between the rate of sediment nitrogen fixation and the relative abundance of the nitrogen-fixing genes
nifD,
nifK, and
nifH.
In this study, the rate of nitrogen transformation was found to be significantly positively correlated with the abundance of functional genes (
Table S5), which is consistent with findings in the Yangtze River estuary [
169], the Weihe River bank [
86], and high-altitude rivers [
170], suggesting that the abundance of functional genes is a good predictor of the nitrogen transformation rate [
171]. This finding also indicates that the nitrogen transformation rate in sediments is jointly regulated by different functional microorganisms and environmental factors and that different functional microorganisms are driven by environmental factors [
146]. Therefore, the key nitrogen transformation rate of artificially cultivated ditches in the Yellow River irrigation area is related to microorganisms, vegetation conditions and sediment physical and chemical properties. The main environmental and microbial factors affecting the nitrogen transformation rate were the NO
3--N content, DOC/NO
3--N ratio,
nrfC expression,
nrfA expression, DOC content, NH
4+-N content,
nosZ expression,
norB expression, TN content, and
nirK expression (
Table S3).
The reasons for this may be as follows: (1) In an artificially cultivated ditch,
P. australis and
T. orientalis transfer oxygen from the air through their stems and roots, which are rich in aerated tissues, to water-saturated sediments, controlling the DO concentration in the rhizosphere and ultimately creating habitats for microorganisms that degrade water pollutants together with sediments [
31].
N. tetragona possesses well-developed rhizomes, which also offer an expanded surface area for the attachment of microorganisms. The planting of different eco-types of plants in artificially cultivated ditches maximizes the utilization of various environmental factors in the vertical space, particularly the electron donor DOC and electron acceptor NO
3--N necessary for denitrification and DNRA [
82,
172]. This creates a more suitable habitat for the functional DNRA genes (
nrfC,
nrfA) and denitrification genes (
nosZ,
norB,
nirK). (2) A-Phr had a greater DNRAR and DR than N-Phr, and the functional genes involved in denitrification (
napA,
norB) and dissimilatory nitrate reduction (
nrfC,
nrfA) had an advantage (
Figure 6b). In addition, the expression of functional genes involved in nitrification (
hao) and anammox (
hzsA,
hzsC) also increased (
Figure 6c), mainly due to the increase in the NO
3--N content, DOC/NO
3—N ratio and NH
4+-N content in the rhizosphere (
Table S4), which can gradually progress through a more complete nitrogen cycle (
Figure 7). Through artificial vegetation restoration, the carbon and nitrogen effectiveness of riverbeds has significantly improved, and the denitrification of sediment has increased [
75]. Denitrification in vegetated ditches can reduce the nitrogen load by 28-56% [
173,
174]. Moreover, DNRA can convert unstable nitrates into ammonium, which plants can absorb, thereby reducing nitrogen losses in agricultural ecosystems [
175] by competing with denitrification. When the sediment carbon-nitrogen ratio is low, denitrification processes have a competitive advantage; when the ratio is high, DNRA predominates. Therefore, a higher abundance of DOC and a more limited NO
3--N content favor the growth of DNRA bacteria [
86,
129]. Other studies have shown that oxygen is an important factor affecting the competition between denitrification and DNRA [
176]. While both denitrification and DNRA prefer anoxic environments, DNRA bacteria are more likely to survive in deposit environments with relatively high oxygen levels [
177]. The nitrification and anammox pathways, which are important links in the nitrogen cycle, are closely coupled with other processes and play a crucial role in maintaining the sediment nitrogen cycle and ecosystem health [
148,
178]. (3) A-Typ had a greater nitrogen fixation rate, and the expression of
nifD,
nifK, and
nifH functional genes involved in the nitrogen fixation pathway increased (
Figure 6b). This observation was mainly related to the ORP-W, DOC content, and DO-W content (
Table S4), which provide more available nitrogen for biological metabolism. Nitrogen fixation and denitrification are two important processes for maintaining the balance of nitrogen in sediments. To some extent, nitrogen fixation compensates for the nitrogen loss caused by denitrification [
179]. Plant roots can release oxygen and unstable carbon into sediments, stimulating denitrification and enhancing nitrogen removal through the biological conversion of nitrate to N
2 [
180]. Furthermore, aquatic vegetation has the capacity to mitigate soil erosion, stabilize sediments, and facilitate the sequestration of carbon and nitrogen in sedimentary environments [
181]. The combination of emerged and floating aquatic plants in artificially cultivated ditches creates a unique environment for rhizosphere microorganisms, which is conducive to nitrogen fixation and denitrification processes, thus significantly improving water quality [
179,
182]. Therefore, the establishment of drainage ditches featuring aquatic plant-dominated habitats holds significant importance for mitigating regional water eutrophication.