The microecological mechanism of Cordyceps chanhua promoting soil nitrogen cycling Authors: Gongping Hu, Youcui Yang, Tao Wang, Jiaojiao Qu, Zhongshun Xu, Yanling Ren, Yeming Zhou, Gangxiang Fei, Yanfeng Han, Jian Zhang, Chunbo Dong, Tengxia He, Ye Deng, Xiao Zou Published: 2026 ABSTRACT AbstractBackgroundThe nitrogen cycle is crucial to the function of the Earth’s biosphere. Entomogenous fungi have been proven to promote nitrogen metabolism and cycling in host insects, and transfer nitrogen from insects to soil. However, little is known about the microecological mechanism of entomogenous fungus participating in nitrogen cycling and the microecological impact of exonitrogen from entomogenous fungus on soil.ResultsHere, we report that the entomogenous fungus Cordyceps chanhua secretes nitrate nitrogen and organic nitrogen from its mycelia into the soil environment and absorbs ammonium nitrogen, nitrite nitrogen and hydroxylamine nitrogen from the soil environment into the C. chanhua. Along with the nitrogen exchange process, the bacterial communities related to nitrogen metabolism in the sclerotium of C. chanhua emerge in the soil environment, promoting the soil organic nitrogen cycling process. Redundancy analysis demonstrated that the endogenous/symbiotic bacterial communities within C. chanhua have the greatest impact on ammonium nitrogen and organic nitrogen at the genus level. During the growth process of C. chanhua, the diversity of the bacterial community in its microenvironment significantly decreased. Consistent with this, this study also verified that the exonitrogen of C. chanhua can reduce the diversity of bacterial communities in the soil environment and enrich the bacterial group of Sporosarcina spp., which has a positive promoting effect on nitrogen metabolism. Furthermore, we isolated three highly active nitrogen-transforming dominant strains from the sclerotia of C. chanhua, which further indicates that the nitrogen transport of C. chanhua is closely related to the bacterial community in its mycelia.ConclusionsThe results of this study demonstrate that the associated/endophytic bacteria of C. chanhua facilitates the participation of C. chanhua in soil nitrogen cycling in its microenvironment.Graphical abstract Supplementary InformationThe online version contains supplementary material available at 10.1186/s40793-025-00838-8.Keywords: Cordyceps chanhua, Soil nitrogen cycle, Exonitrogen, Bacterial community, Growth and development Introduction The nitrogen cycle is a crucial process in the Earth’s biosphere, which ensures the cycling of nitrogen and promotes the balance and stability of ecosystems [1, 2]. Soil nitrogen cycling directly affects the stability of ecosystem services and functions, and is closely related to the dynamic balance of soil ecosystem [3]. The soil nitrogen cycle mainly includes key processes such as absorption of biological residues, biological nitrogen fixation, ammonification, nitrification and denitrification. These processes form an interconnected network system predominantly driven by soil microorganisms [4]. In nature, microorganisms harmoniously interact and participate in every reaction of the nitrogen cycle [5], continuously converting nitrogen into various biologically available forms of nitrogen [6]. For example, atmospheric nitrogen is first biologically fixed into ammonia primarily by specific groups of bacteria and archaea. This fixed nitrogen is then converted into various other inorganic forms (such as nitrate) or incorporated into small organic molecules through subsequent reactions driven by complex consortia of microorganisms with diverse metabolic functions. These bioavailable nitrogen forms can then be utilized by other organisms [7–9], and the microorganisms involved play essential ecological roles in the nitrogen cycle [10]. In addition to nitrogen-fixing microorganisms, there are also many microorganisms in nature that can transform nitrogen forms [5], such as Proteus, Bacteroides, and other bacteria can reduce nitrite to NO [11]. Soil fungi are important biological groups in terrestrial ecosystems [12], which are widely distributed in various soil environments and maintain ecosystem functions by decomposing organic matter and participating in nutrient cycling [13]. Some fungi in soil will form fungal mycelia during their growth and development, and the interconnection of fungal mycelia will form a three-dimensional network structure [14], which can effectively improve the absorption and utilization of inorganic nitrogen by organisms [15, 16]. Fungi in soil influence the soil nitrogen cycle by regulating the temporal and spatial flow of nitrogen in the ecosystem [17–19]. Entomogenous fungi, as a special group of microorganisms, play a unique role in the nitrogen cycle [20]. Cordyceps fungi are a special class of entomogenous fungi that live in insects and produce spores on the adult worms of host insects [21]. During their growth and development, cordyceps fungi can obtain nutrients from the host insects, including nitrogen compounds [22]. When the fruiting bodies of cordyceps fungi grow out of insect carcasses and release spores, some of the nitrogen in their bodies may be returned to the surrounding environment through catabolism, thereby participating in the nitrogen cycle [23]. Some cordyceps fungi can break down large nitrogen compounds such as proteins into small substances like amino acids and ammonia when decomposing insect carcasses. These substances can then be utilized by other organisms or further converted into other nitrogen forms to enter the nitrogen cycle [24]. Other studies have shown that after entomogenous fungi infects insects, it may change the decomposition rate of insect carcasses, thereby affecting the speed and amount of nitrogen released into the environment [25]. From the perspective of the global nitrogen cycle, a close relationship between entomogenous fungi and plants is anticipated due to a potential nutrient bridge. Entomogenous fungi are capable of accessing a nitrogen-rich resource—the insect body—that is largely unavailable to plants. It has been found that these fungi can form symbiotic associations with plant roots, effectively acting as a conduit to transfer nitrogen derived from insects directly into the plant host [26, 27]. This transfer provides a significant nutritional advantage to the plant, especially in nitrogen-limited soils. In return, the plant supplies photosynthesis-derived carbon to the fungus, establishing a mutualistic relationship. Therefore, entomogenous fungi are not merely insect pathogens but also play a potential role in plant nutrition by facilitating nitrogen flow from insects to plants within the ecosystem. It has been found that the transfer of nitrogen from insects to plants through the mycelium of entomogenous fungi has been demonstrated [28]. For example, the entomogenous fungi Metarhizium anisopliae can establish a symbiotic relationship with many plant species [29, 30], in which M. anisopliae can transfer nitrogen to plants, and the plants can also transfer carbon-containing compounds synthesized by photosynthesis to M. anisopliae, from which both plants and M. anisopliae benefit and are able to grow better [31, 32]. Behie et al. [32] assessed that insects supply at least 0.4 to 4.0 g of nitrogen per square meter of soil, and Metarhizium sp. plays an efficient role in nitrogen transport and increases plant biomass. For instance, a study on insect defoliation revealed that a significant portion of nitrogen in plant foliage can be consumed by phytophagous insects, and this nitrogen is subsequently redistributed and recycled within the ecosystem [33]. When insects are infected by entomogenous fungi, they break down and release nitrogen-rich compounds into the soil [34], which can be taken up and utilized by plants and other soil microorganisms. More than 60% of insects that die in nature are killed by fungi [35], so entomogenous fungi can promote nitrogen return and thus play an important role in nitrogen cycling in the ecosystem. C. chanhua is a fungus-insect complex formed by fungus of Cordyceps sp. parasitizing on cicadae [36], which mainly consists of the stroma, coremium, spore powder, body wall of the insect, mycelium, and sclerotia (Fig. 1). Among them, (1) The coremium, a rod-shaped structure, is the most prominent structure of C. chanhua, and its surface is covered with a layer of white conidia. The coremium contains a large number of conidiophores and conidia, which is an important structure of C. chanhua for reproduction. (2) Sclerotium, a hard, irregular mass under the stroma, is closely interwoven by hyphae, and its main function is to store nutrients to help C. chanhua survive adverse environment. (3) Conidia, which are oval or cylindrical, colorless and transparent with smooth surface, are the reproductive units of C. chanhua, and can germinate to form new hyphae under suitable environmental conditions. (4) The mycelium is thin and branched, colorless or light color, which is responsible for absorbing nutrients and water throughout the whole structure of C. chanhua, and is the basic structure for the growth and development of C. chanhua. (5) The body wall, the exoskeleton of the host insect, effectively retains the water in C. chanhua and is the first line of defense against the adverse external environment. Together, these structures constitute the unique morphological characteristics of C. chanhua, and the parts cooperate with each other to enable it to complete life activities such as growth, reproduction and nutrient cycle in the natural environment. Wild C. chanhua grow in natural habitats with rich and complex vegetation, and can now be cultured artificially (Fig. S1). From the perspective of microbial ecology, the microbial communities in vivo and in vitro play a large role in the growth and development of C. chanhua [37]. The interaction between fungi and bacteria in the fungal network system is also an important part of the network [36]. In natural ecosystems, fungi often form a complex microbial network with other microorganisms [14, 38, 39]. The microenvironment surrounding the hyphae of fungi is full of living organisms such as bacteria living together with fungi [40], which in turn can affect the metabolism of fungi. It has been found that fungi provide nutrients and habitats for some bacteria, and conversely, these bacteria also provide some nutrients to the fungal host [41]. Some of which are nitrogen nutrients, and this process may involve bacterial communities related to nitrogen transformation [42]. Nelson et al. [43] showed that bacterial communities in soil are closely related to soil nitrogen cycling. It has been found that bacterial uptake and utilization of various nitrogen sources are often tightly regulated in response to available nitrogen sources [44]. Previous studies have shown that different nitrogen forms can have different effects on the resistance of pathogenic microorganisms [45]. For example, inorganic nitrogen will affect the resistance of Nicotiana tabacum L. to pathogenic microorganisms [45], and nitrate nitrogen in soil can regulate the symbiotic relationship between legumes and rhizobia [46], etc. Zeng et al. [37] discovered that the total content of amino acids and essential amino acids in the fruiting body of sterile-cultivated C. chanhua was lower than that in wild C. chanhua, suggesting that bacteria may play a role in nitrogen transport and metabolism in C. chanhua. In our previous study, we found that C. chanhua can transfer nitrogen from the insect body to the soil environment and also transfer nitrogen from the soil environment to the insect body [47]. However, little is known about the specific form of nitrogen transfer and the amount of nitrogen transfer. Therefore, it is necessary to explore the microecological mechanism by which C. chanhua promotes the soil nitrogen cycle. Herein, “microecological mechanism” encompasses the integrated processes involving the host fungus, its resident bacterial communities, and their collective interactions with the soil environment to regulate nitrogen transformations. The solution to this problem is conducive to demonstrating the composition and structural change patterns of exogenic nitrogen elements during the life history of entomogenous fungi. It not only helps to develop new types of fertilizer products and restore soil ecology, but also provides a reference basis for precise fertilization in agriculture and offers new ideas for improving soil fertility. Structure diagram of C. chanhua. a Comic diagram of C. chanhua structure. b Cross section of C. chanhua cultivated under soil cover We collected samples of inner sclerotium, bacteriospheric soil, and control soil of C. chanhua at different growth stages. The objectives were (i) to determine the nitrogen form and content in the growth and development of C. chanhua; (ii) To determine the relationship between the nitrogen content of C. chanhua and soil bacterial communities; (iii) To investigate the regulation of nitrogen secretion on the structure and function of bacterial community in soil during the growth of C. chanhua; (iv) To verify the existence of bacterial strains related to nitrogen conversion in the sclerotium of C. chanhua. The results of this study will reveal the ecological functions of entomogenous fungi in natural ecosystems and the interactions between these fungi and microenvironment ecological networks from the perspective of nitrogen cycle. This will considerably enhance our understanding of the mechanism by which entomogenous fungi participate in soil nitrogen cycling from the perspective of endophytic bacteria. Materials and methods C. chanhua cultivation and sample acquisition The strains of C. chanhua were revitalized and activated: The cryopreserved strains of C. chanhua [GZUIFR_DJS1] were revitalized by aseptically transferring mycelial blocks onto fresh Potato Dextrose Agar (PDA) plates. The plates were then incubated at 25 ℃ for 7–10 days until robust mycelial growth was observed. For activation, mycelial plugs (5 mm in diameter) from the actively growing edge of the revitalized colonies were inoculated into fresh PDA plates and cultured under the same conditions for another 5–7 days to obtain vigorously growing pre-cultures for subsequent fermentation. The activated colonies were selected for fermentation in liquid PDA medium, injected into the disinfected tussah silkworm (Antheraea pernyi) pupae, cultivated in a sterile environment until the rigor stage, and then buried in the soil environment, as shown in Fig. 2. According to our previous method, inner sclerotium (IS), bacteriospheric soil (BS: soil tightly wrapped about 0.2 cm of the insect body) and control soil (CS: soil without C. chanhua in the same conditions) were taken from C. chanhua at the rigor stage (P1), membrane formation stage (P2) and mature stage (P3) respectively [47]. Among them, only IS samples were collected at the P1 stage when the C. chanhua was not buried in the soil. Part of the collected samples were used for routine nitrogen analysis, and the other part of the sample was ground evenly with liquid nitrogen and stored in an ultra-low temperature refrigerator at − 80 ℃ until sent to Guangdong MeGG Gene Sequencing Company for high-throughput sequencing analysis. The experimental method and sample sampling diagram. The red font in the figure represents the sample taken, JC is expressed as the sclerotium in the rigor stage, S2 is expressed as the sclerotium at cortices formation stage, and S3 is expressed as the sclerotium in the mature stage. Sm2 is expressed as the bacteriospheric soil at the stage of membrane formation and Sm3 is expressed as the bacteriospheric soil at the stage of Cordyceps chanhua maturation. Sck2 is expressed as the control soil of membrane formation stage. Sck3 is expressed as control soil at maturity, the same below Routine nitrogen testing and calculation of nitrogen conversion rate The total nitrogen content of different samples was determined by using the Kjeldahl nitrogen determination method (LY/T1228-2005), the determination of nitrate nitrogen by phenol disulfonic acid colorimetric method (LY/T1228-2005), and the determination of ammonium nitrogen by indigo phenol blue colorimetric method (LY/T1228-2005). The content of hydroxylamine was determined according to GB/T 6685-2007. Spectrophotometric colorimetric determination of nitrite nitrogen content in samples (LY/T1228-2005). According to the method of Datta et al. [48], the formula for calculating the organic nitrogen content in the sample is ω0 = ωt–ωi (ωa + ωN). In the formula, ω0 represents organic nitrogen, ωt represents total nitrogen, ωi represents inorganic nitrogen, ωa represents ammonium nitrogen, and ωN represents nitrate nitrogen. The nitrogen content secreted or absorbed by C. chanhua was determined using the following formula: ωn = (JC–Sn)–(Smn–Sckn), the detailed derivation process of the formula is provided in Supplementary Text S1. The nitrogen conversion rate in the microenvironment of C. chanhua was calculated using the following formula [49]: (1) Net nitrogen mineralization rate = [(Mt + Nt)–(M0 + N0)]/t; (2) Net nitrification rate = (Nt–N0)/t; (3) Net nitrogen ammonification rate = (Mt–M0)/t. In the formula, M0 and Mt are the NH4+–N content in the soil of C. chanhua just cultivated with soil cover and when C. chanhua mature, mg kg−1; N0 and Nt were NO3−-N contents (mg kg−1) in the freshly covered soil and at mature stage of C. chanhua; And t is the corresponding soil sampling days, d, which is 30 d in this study; The unit of nitrogen conversion rate in the equation is mg kg−1 d−1. Bacterial community analysis A total of 21 samples (3 replicates) were collected from IS, BS, and CS of C. chanhua at the P1, P2, and P3 stages, and were sent to Guangdong Mager Gene Technology Co., LTD for 16S rRNA amplicon sequencing analysis. Detailed information about DNA extraction, PCR amplification, OTU annotation, bacterial community diversity analysis, bacterial community structure analysis, bacterial community function prediction analysis in different samples, and bacterial community co-occurrence network analysis can be found in the Supporting Information (Text S2). The effect of exocrine nitrogen aqueous solution on bacterial community structure In order to determine whether the changes in the soil bacterial community observed during the growth of C. chanhua were solely caused by the nitrogen compounds secreted by the fungus, we conducted a soil microecological experiment. This method enabled us to distinguish the secretion of nitrogen compounds from other possible fungal influences. Fresh soil was collected from the ground of Pinus massoniana forest of Guizhou University (106° 39′ 26″ E, 26° 27′ 10″ N) and shipped back to the laboratory. After sifting and fully mixing, it was divided into six pots with sterilized surfaces. The soil weight of each pot was 10 kg and the humidity was balanced for 7 d. Two groups were set up in the experiment (Fig. 3), in the experimental group: Aqueous solutions of C. chanhua exonitrogen were added to the soil in 3 pots according to the experimental data of C. chanhua exonitrogen form content (The results of this study showed that in P3 period, the contents of organic nitrogen and nitrate nitrogen in C. chanhua bodies were 0.4469 g/kg and 0.1179 g/kg, respectively. Therefore, in this study, organic nitrogen and nitrate nitrogen were replaced by arginine and potassium nitrate to prepare exogenous nitrogen aqueous solution [50, 51], and the ratio was aseptic ultra-pure water: arginine: potassium nitrate = 1000:0.4469:0.1179, that is, 0.4469 g arginine and 0.1179 g potassium nitrate were added to 1 L aseptic ultra-pure water). Soil samples were collected for 30 days (the time from the P1 to P3 of C. chanhua) and recorded as SNN, during which droplets of C. chanhua exonitrogen aqueous solution were added to keep soil moist. Control group: Sterile ultra-pure water was added to 3 pots of soil, and soil samples were collected 30 days later and recorded as SNck, during which sterile ultra-pure water was added to keep the soil moist. High-throughput sequencing technology was used to detect the bacterial community composition, diversity, and function prediction of the experimental group and the control group, respectively, to compare the differences in soil bacterial community composition with or without C. chanhua exonitrogen aqueous solution dripping, and to analyze the effects of exonitrogen compounds on bacterial community structure. Schematic diagram of preparation of C. chanhua exocrine nitrogen aqueous solution and its effect on soil bacterial community Isolation, culture, and identification of bacteria related to nitrogen conversion in IS of C. chanhua Collect C. chanhua cultivated under ecological soil cover in P3 stage, remove the soil and mycoderm of C. chanhua, grind 10 g IS samples, and add them to 90 mL normal saline with glass beads. Place it on a shaking table at 28 ℃ for 30 min, fully break up the bacterial micelles, obtain 10–1 bacterial solution, and add normal saline to dilute the bacterial solution to 10–4. They were coated on LB medium and beef extract-peptone medium with a coating stick on a sterile operating table and cultured in an incubator at 28 ℃ (Fig. S2), observed and separated every 12 h, and cultured for about 2 days. The number of bacteria strains isolated from different media was counted according to different colony morphology, and plate scribing was performed for isolation (Fig. S3). The plate medium was cultured in an incubator at 28 ℃ for 1 day, and representative single colonies were selected according to the different morphology characteristics of bacterial colonies, and added into sterilized LB liquid medium or beef extract-peptone liquid medium, and enriched and cultured for 24 h on a shaking table at 28 ℃ and 220 r/min. Ammonium nitrogen and nitrite nitrogen were determined in the cultured bacterial solution. The determination methods were shown in Text S3 and Text S4, and the standard curves were shown in Fig. S4 and S5 respectively. Bacterial DNA was extracted by chelex 100 method (Fig. S6) from strains with higher ammonia nitrogen and nitrite nitrogen content (see Text S5 for specific methods). The PCR amplification products obtained in the experiment were immediately sent to Qingke Biotechnology Co., Ltd. for sequencing. The sequencing results are spliced through DNA MAN software, the spliced gene sequences were analyzed by Blast homologous sequences through NCBI (http://www.ncbi.nlm.nih.gov), a preliminary determine its genus name, and get the same in the Genebank strains of the genus 16S rRNA gene sequences, MEGA_11.0.13 software was used to perform multiple sequence comparison between the sequenced sequences and the r DNA-ITS sequences downloaded from GenBank, and the phylogenetic tree was constructed using the Neighbor-joining. Data analysis and availability The nitrogen content of C. chanhua exocrine was calculated by Excel and the equation of standard curve was fitted. Pairwise comparison of nitrogen content in different samples, nitrogen conversion rate and α diversity of SNN and SNck samples was performed by Bonferroni method in Prism 9.5.1 software and histogram was drawn. The difference of nitrogen content in different samples was analyzed by one-way ANOVA using SPSS 26.0. The results of bacterial diversity were mapped using Rstudio. Draw other graphs using Origin 2021. Results The mutual transfer of nitrogen between inner sclerotium of C. chanhua and the soil environment As can be seen from Fig. 4, there was no significant difference in the nitrogen content of CS samples in P2 stage and P3 stage, indicating that the influence of external environmental conditions on the experimental results could be negligible. During the growth of C. chanhua, the total nitrogen content in IS in C. chanhua decreased significantly (Fig. 4a). Compared with CS, the total nitrogen content in Sm2 (Bacteriospheric soil samples of C. chanhua at P2 stage) was significantly higher than that in Sm3 (Bacteriospheric soil samples of C. chanhua at P3 stage). Therefore, it was speculated that during the growth of C. chanhua, the nitrogen in the insect body was excreted into the soil environment. Our study found that with the growth of C. chanhua, the contents of nitrate nitrogen and organic nitrogen in the body of C. chanhua gradually decreased (Fig. 4b, c). The content of nitrate nitrogen and organic nitrogen in soil at P3 stage was higher than that at P2 stage. Therefore, we speculated that nitrate and organic nitrogen are secreted into the soil environment during the growth of C. chanhua. In contrast, the contents of nitrite nitrogen, hydroxylamine nitrogen, and ammonium nitrogen in IS of C. chanhua gradually increased with the growth of C. chanhua (Fig. 4d–f). The contents of nitrite nitrogen, hydroxylamine nitrogen, and ammonium nitrogen in soil at P3 stage were lower than those at P2 stage. It can be inferred that nitrite nitrogen, hydroxylamine nitrogen, and ammonium nitrogen in the soil environment are absorbed into IS of C. chanhua during the ontogenesis of C. chanhua. The content of nitrogen form in different samples. The contents of total nitrogen (a), nitrate nitrogen (b), organic nitrogen (c), nitrite nitrogen (d), hydroxylamine nitrogen (e), and ammonium nitrogen (f) in different samples. Data are presented as mean ± SD; ns, p > 0.05; *p < 0.05; **p < 0.01, ***p < 0.001, the figures below is the same To verify the above conjectures, this study deduced the formula ωn = (JC–Sn)–(Smn–Sckn) and calculated the nitrogen content exchanged between IS in C. chanhua and the soil environment (Fig. 5). Both ω2 and ω3 were greater than 0 at P2 and P3 stages (Fig. 5a), indicating that nitrate and organic nitrogen were secreted into the soil environment from IS of the C. chanhua in P2 and P3 stages, and the contents of nitrate and organic nitrogen in the P2 stage were 66.53 mg/kg and 103.98 mg/kg, respectively, and those in the P3 stage were 117.92 mg/kg and 446.88 mg/kg, respectively. However, the ω2 and ω3 of the contents of nitrite, ammonium, and hydroxylamine transported nitrogen in P2 and P3 stages were all less than 0, indicating that C. chanhua absorbed nitrite, ammonium, and hydroxylamine nitrogen from the soil at P2 and P3 stages. According to Fig. 5b and c, the contents of nitrite nitrogen, ammonium nitrogen, and hydroxylamine nitrogen absorbed from the soil environment in the P2 stage were 1151.45 mg/kg, 0.21 mg/kg and 1.17 mg/kg, respectively, and those in the P3 stage were 568.02 mg/kg and 1.17 mg/kg, 2.32 mg/kg, respectively. At P2 and P3 stages, the total nitrogen content was greater than 0, indicating that the content of nitrogen secreted by the resoil-cultivated C. chanhua was greater than that absorbed from the soil environment. Nitrogen content in excretion or absorption of C. chanhua. a Analysis of nitrogen content secreted or absorbed by C. chanhua. b and c Local magnification of the amount of nitrogen absorbed by C. chanhua from the soil environment during the P2 and P3 periods. The arrows indicate magnification of the portion of transferred nitrogen that is less than 0 The cultivation of C. chanhua by overlaying soil could increase the rate of nitrogen transformation in soil (Fig. 6). Compared with CS (0.56 mg kg−1 d−1), the net nitrogen mineralization rate of BS (3.30 mg kg−1 d−1) was increased by 473.09% ~ 525.78%. The net nitrogen nitrification rate in BS was 4.80 mg kg−1 d−1, which was 8.46 times of that in the ambient soil (0.57 mg kg−1 d−1) (Fig. 6a). Figure 6b shows that compared with CS (– 0.04 mg kg−1 d−1), the net nitrogen ammonification rate of BS decreased by 180.54– 382.86%. In conclusion, C. chanhua could increase the rates of soil net nitrogen mineralization and nitrification, and reduce the rates of soil net nitrogen ammonification. Soil nitrogen transformation rate. a Net nitrogen mineralization rate, net nitrogen nitrification rate, and net nitrogen ammonification rate of BS and CS; b Net nitrogen ammonification rate of BS and CS, with arrows showing magnification of the rate of net nitrogen ammonification Bacterial community composition According to the results of high-throughput sequencing, a total of 2,794,234 valid sequences were obtained from the 21 samples sequenced in this experiment, the total number of bases was 898,572,190, and the number of sequences in each sample was 74,622–336,952. OTUs belonging to 35 phyla, 93 classes, 191 orders, 272 families, 559 genera, and 9,692 species were detected in 21 groups of samples in P1, P2, and P3 after optimized sequence clustering. In the dilution curve, it can be found that with the increase of the number of sample sequences, the dilution curve of this sequencing tended to be flat and did not rise (Fig. S7), indicating that the amount of sequencing data was reasonable and large enough to reflect most of the bacterial community diversity information in IS, BS and CS samples. Figures 3b and 7a clearly show the species composition information of the bacterial communities at the phylum level and the genus level for different samples at different growth stages of C. chanhua. At the phylum level, Proteobacteria dominated across all IS samples, with relative abundance declining from P1 to P3, while Firmicutes and Actinobacteria showed stage-specific fluctuations (Fig. 7a). The results of network topology analysis (Fig. S8) showed that at the phylum level, the bacterial symbiotic network structure of IS samples of C. chanhua was relatively simple compared with soil samples. Compared with the P3 stage, the bacterial symbiotic network structure in the P2 stage soil samples was relatively simple. Analysis of bacterial community composition and diversity in IS, BS, and CS in different growth stages of C. chanhua. a Relative abundance histograms of bacterial community composition in different samples at Phylum level. b Relative abundance histograms of bacterial community composition in different samples at genus level. c Statistical analysis of OTUs in IS samples in different growth stages of C. chanhua. d Statistical analysis of OTUs in soil samples in different growth stages of C. chanhua. e Distribution of bacterial communities at the genus level for all samples. f The proportion of each of the 41 common genera. g Analysis of the significant difference between groups in sclerotium and soil in different growth and development stages of C. chanhua. h PCoA analysis of β diversity of bacterial communities among different samples As shown in Fig. 7a, the bacterial community composition of BS samples and CS samples was similar at the P2 and P3 stages of C. chanhua. In P2 stage, Proteobacteria was the predominant phylum in Sm2 and Sck2 samples, accounting for 48.63% and 49.62%, respectively. However, at P3 stage, the number of Proteobacteria in Sm3 and Sck3 samples decreased, accounting for 33.80% and 34.16%, respectively, but still occupied the main advantage. At P2 stage, Acidobacteria (16.47%) and Bacteroidetes (21.59%) were the predominant phyla. Acidobacteria (23.53%) was the dominant phylum in CS, while Bacteroidetes (5.64%) was relatively less than that in BS. Other bacterial communities, such as Actinobacteria, Chloroflexi, and Verrucomicrobiae, accounted for 5.21%, 2.24%, and 1.81% of the total abundances in BS, and 7.10%, 3.64%, and 3.34% in CS, respectively. At P3 stage, Actinobacteria (25.34%), Bacteroidetes (15.25%), and Firmicutes (13.86%) were dominant in BS samples. In CS samples, Actinobacteria (21.90%), Acidobacteria (14.49%), and Bacteroidetes (8.44%) were the dominant phyla. In addition, the abundance of Proteobacteria (13.86%) and Bacteroidetes (15.25%) in BS samples was relatively lower than that of Proteobacteria (1.52%) and Bacteroidetes (8.24%) in CS, while the number of Acidobacteria (Sm3: 4.87%; Sck3: 14.49%) was relatively increased. Therefore, during the growth of C. chanhua from P2 to P3 stage, the abundance of Proteobacteria, Acidobacteria, and Bacteroidetes decreased, the abundance of Firmicutes and Actinobacteria increased, and the relative abundance of other bacteria did not change much. At different stages of C. chanhua growth, the dominant bacterial groups at the genus level of the samples of IS, BS, and CS in C. chanhua had their characteristics (Fig. 7b). The bacterial community composition of IS in C. chanhua was relatively simple compared with that in soil. The dominant genera of JC were Stenotrophomonas (20.96%) and Achromobacter (11.89%). Bacillus (23.50%) was the dominant group of S2, and Cedecia (10.30%), Sphingobacter (4.54%), Roamella (3.35%), and Serratia (1.78%) were the secondary dominant groups. In S3 samples, Achromobacter (40.64%), Staphylococcus (19.11%), and Pseudomonas (14.31%) were the main dominant bacteria. Therefore, at different growth stages of C. chanhua, the bacterial groups in IS have different characteristics at the genus level, and the main dominant bacterial groups are also different. In the soil samples, Sphingobacter (14.75%) was the main dominant bacterial group in Sm2 samples. RB41 (3.70%), Bradyrhizobium (3.13%), Pseudomonas (2.52%), Oligotrophomonas (2.04%), Sphingomonas (1.82%), Candidatus_Solibacter (1.81%) is the secondary dominant bacterial group. In addition, it also contains Chryseobacterium (1.49%), Burkholderia-Caballeronia-Paraburkholderia (1.38%), Allorhizobium-Neorhizobium-Pararhizobium-Rhizobium (1.37%), Bryobacter (1.35%), Reyranella (1.32%), etc. In Sm3 samples, Staphylococcus (12.04%) was the main dominant genus, Sphingobacter (8.94%), Achromobacter (8.38%), and Brevibacterium (7.22%) were also dominant. It is not difficult to see from Fig. 7b that the bacterial community composition in CS samples at both P2 and P3 stages was more complex than that in BS samples. At the same stage, the composition of bacterial communities in the samples of BS and CS had their characteristics, but the relative abundance of the most dominant bacterial groups in the samples of BS was higher than that in CS. For example, the relative abundance of the dominant group Sphingobacter in Sm2 (14.75%) was higher than that of the dominant group RB41 in Sck2 (3.87%). The relative abundance of the dominant group Staphylococcus in Sm3 (12.04%) was higher than that of the dominant group Paenarthrobacter in Sck3 (3.56%). Venn analysis of the OTUs revealed the presence of a dynamic core microbiome in IS of C. chanhua. There were 18 common OTUs in IS of C. chanhua at three growth stages, indicating that some bacterial communities persisted throughout the growth process of C. chanhua. However, the total number of OTU in IS showed an initial decrease at P2, followed by a significant increase at P3 (Fig. 7c), indicating that the number of bacteria in IS samples of C. chanhua first decreased and then increased with the growth of the samples. Meanwhile, as C. chanhua grew, the number of OTUs in BS decreased, while that in CS increased (Fig. 7d). This indicates that during the development of C. chanhua, specific bacterial communities may migrate from the soil environment to IS of C. chanhua through mycoderm. A total of 41 genera of bacteria were found in different samples at different growth stages of C. chanhua (Fig. 7e), the proportions of each of the 41 genera are shown in Fig. 7f. They were Achromobacter (27.72%), Alcaligenes (11.60%), Allorhizobium-Neorhizobium-Pararhizobium-Rhizobium (11.13%) and Aquisphaera (10.37%), Bacillus (4.82%), Bradyrhizobium (4.69%), Lysobacter (4.69), Ensifer (3.86%) and Burkholderia-Caballeronia-Paraburkholderia (2.42%), Chitinophaga (1.9%), Bosea (1.89%) and 30 other bacteria genera with relatively small proportions. These 41 genera were detected in IS, BS, and CS of C. chanhua at different growth stages, indicating that they not only participate in the growth and development of C. chanhua, but also exist widely in the soil environment. It can be seen from Fig. 7e that JC samples have 3 endemic genera, namely Alcanivorax, Prevotella, and Pigmentiphaga. The S2 sample had two endemic genera, 28-YEA-48 and Lactococcus respectively. The endemic genera of S3 samples were 11 genera, including Verticia, Mumia, Modestobacter, Limnohabitans, and so on. The endemic genera in Sm2 samples included 20 genera, such as Polyangium, Rhodanobacter, Rhodoblastus, Herbaspirillum, Candidatus_Jidaibacter and Biernaprussia, etc. In Sck2 samples, 11 genera were unique, including Acidocella, Salinispora, Parachlamydia, Variibacter, Acidiphilium, etc. The unique genera in Sm3 are Actinopolymorpha, Sphaerisporangium, Planomicrobium, and 33 other genera. The specific genera in Sck3 samples included 44 genera, including Cnuella, Bacteriovorax, Azoarcus, Anaerocolumna, Erythrobacter, and Microbulbifer. There were 41 bacterial genera involved in the growth and development of C. chanhua, the bacterial communities in C. chanhua at different growth stages were different and had their characteristics. In addition, the bacteria genera in the sclerotium first decreased and then increased, S2 < JC < S3. Among the top 20 bacteria in each sample, there was no significant difference in the abundance of Pseudomonas (p > 0.5). There were significant differences in the abundance of bacterial communities of the other 18 genera (Fig. 7g), including Achromobacter, Bacillus, Sphingobacter, Stenotrophomonas, Morganella, Staphylococcus, Pseudomonas, Cedecea and so on. Among them, Achromobacter had a large abundance in S3, which was significantly different from JC. The abundance of Oligotrophomonas and Serratia were higher at P1 stage, but decreased significantly with the growth of C. chanhua. Cedecea and Ramococcus only appeared in IS at P2 stage, so it was assumed that these two bacteria were related to the formation of the C. chanhua mycoderm. Staphylococcus, Brevibacterium, Saccharopolyspora, Candidatus_Solibacter, Bryobacter, and Candidatus_udaeter almost only appear in IS of C. chanhua at P1 and P3 stage, while their abundance is 0 during P2 stage. Therefore, we assume that these bacteria may be unfavorable to the formation of membranes. The bacterial communities of Sck2 and Sck3 had similar genus levels, and the abundance of Arthrobactoides, Streptomyces, and Pseudomonas in Sck3 was significantly higher than that of Sck2 at the genus level. Except for these bacteria, the abundance of other bacterial communities was basically the same. The abundance of Staphylococcus, Achromobacter, and Brevibacterium in Sm3 was significantly higher than that in Sm2, while the abundances of other bacterial groups had little or no difference. In addition, Arthrobacter and Saccharopolyspora existed only in P3 stage, not in P2 stage. The Coverage index of each copy reached 100% (Table 1), indicating that the data measured by this sequencing adequately reflected the bacterial community diversity in each sample. The Ace and Chao indices of IS samples in different cultivation periods were 229.333-721.333, and those of the soil samples were 456-6940.667, respectively. Among them, there was no significant difference in the Ace and Chao indices among the JC, S2, and S3 samples (p > 0.05), indicating that cultivation time had little effect on the richness of bacterial community in IS of C. chanhua cultivated under soil cover. The Ace index and Chao index in the soil of C. chanhua in P2 stage were significantly higher than those in P3 stage (p < 0.05), indicating that the richness of soil bacterial community could be reduced by planting C. chanhua in soil. In addition, with the growth of C. chanhua, the bacterial richness in BS tended to decrease, while the richness in CS basically did not change. In contrast, the Shannon indices (reflecting community evenness) showed no significant differences among most sample groups (p > 0.05, Table 1). The PCoA plot based on β diversity revealed a clear separation between the bacterial communities of IS samples and those of the soil (BS and CS) samples (Fig. 7h). In contrast, the bacterial communities of BS and CS at the same growth stage (e.g., Sm2 vs. Sck2, Sm3 vs. Sck3) clustered more closely, suggesting that the presence of C. chanhua had a lesser impact on the overall structure (β diversity) of the soil microbiota compared to its profound influence on the sclerotium-associated microbiota. In other words, the bacterial community composition in IS and CS of C. chanhua in different growth and development stages was similar, while the bacterial community composition in BS changed significantly. In addition, the distance between IS of C. chanhua and the soil samples was relatively far, indicating that the diversity of Beta of bacterial communities in the inner sclerotium of C. chanhua was significantly different from that in BS and CS. At the same stage, the distance between the soil samples (such as Sm2 and Sck2, Sm3 and Sck3) was relatively close, indicating that there was no significant difference in Beta diversity of bacterial community between BS and CS at the same stage. Table 1Bacterial alpha diversity index between all samplesSampleAce indexChao indexCoverage (%)Shannon indexSimpson indexJC539.000 ± 97.766c539.000 ± 97.767c1001.019 ± 0.082a0.424 ± 0.117aS2229.333 ± 9.838c229.333 ± 9.838c1000.832 ± 0.494a0.136 ± 0.005bS3721.333 ± 143.497c721.333 ± 143.497c1000.523 ± 0.526a0.305 ± 0.106aSm25956.667 ± 288.506a5956.667 ± 288.506a1001.015 ± 0.336a0.006 ± 0.001bSck26940.667 ± 724.827a6940.667 ± 724.827a1001.068 ± 1.354a0.001 ± 0.001bSm34506 ± 968.052b4506 ± 968.052b1001.131 ± 0.321a0.017 ± 0.005bSck36683 ± 577.01a6683 ± 577.01a1001.590 ± 1.012a0.003 ± 0.0003bData in the table are Mean ± SD; Different letters in the same column indicate a significant difference (Duncan’s test, p < 0.05) Bacterial alpha diversity index between all samples Data in the table are Mean ± SD; Different letters in the same column indicate a significant difference (Duncan’s test, p < 0.05) Functional prediction analysis of bacterial communities associated with nitrogen cycle More detailed descriptions of the KEGG and COG functions of the bacterial communities in each sample can be found in the Supplementary Information (Text S7). Figure 8a shows that the relative abundance of KEGG functions of amino acid metabolism related to nitrogen cycling in bacterial communities in each sample ranged from 11.89% to 14.30%. As shown in Fig. 8b, the amino acid metabolism function of the bacterial communities in IS samples of C. chanhua was higher than that of the soil bacterial communities, indicating that the relative abundance of bacterial communities related to nitrogen cycle in C. chanhua was higher than that in the soil samples. There was no significant difference in the relative abundance of amino acid metabolism in KEGG function of the bacterial community in BS samples, but the amino acid metabolism function of bacterial communities in Sm3 samples was significantly higher than that in Sm2 samples. Therefore, these predictive results suggest that part of the bacterial community with amino acid metabolism potential in IS of C. chanhua might be excreted into the soil environment along with nitrogen during the growth and development of C. chanhua. C. chanhua increased the relative abundance of functions related to the nitrogen cycle. a Heat map of KEGG functional abundance of bacteria in each sample during the growth and development of C. chanhua. b KEGG function—the relative abundance of amino acid metabolism in each sample. c COG functional classification of bacteria in each sample during the growth and development of C.chanhua. d COG function—the relative abundance of amino acid transport and metabolism in each sample As can be seen from Fig. 8c, the relative abundance of amino acid transport and metabolism, the COG function related to the nitrogen cycle, in the bacterial communities in each sample were 9.83% to 11.11%, which was larger than that of other COG gene functional families. As shown in Fig. 8d, the amino acid transport and metabolism function of the bacterial community in IS of C. chanhua was higher than that of the soil bacterial community, indicating that the relative abundance of the bacterial community related to the nitrogen cycle in the C. chanhua was higher than that in the soil samples. The relative abundance of amino acid transport metabolism in IS samples of C. chanhua was S2 < JC < S3, indicating that the bacterial community related to nitrogen cycle in C. chanhua showed a tendency to increase with the growth of C. chanhua, but the overall trend was upward. From the soil samples, the relative abundance of amino acid transport metabolism in COG function of bacterial community in CS samples was not significantly different, while the amino acid transport metabolism of bacterial community in Sm3 samples was significantly higher than that in Sm2 samples. Therefore, we speculate that during the growth and development of C. chanhua, some bacterial communities with amino acid metabolism potential in IS may be secreted into the soil along with nitrogen. This inference suggests that the related bacterial communities in C. chanhua might contribute to the soil nitrogen cycle. Correlation analysis between soil bacterial community diversity and soil nitrogen Redundancy analysis between soil nitrogen and bacterial community was performed at phylum level (Fig. 9a). The cumulative interpretation rates of the first and second ranking axes were 66.6% and 23.5%, respectively, and the cumulative interpretation rates reached 90.1%, indicating that the first and second ranking axes could better reflect the correlation between soil nitrogen form and bacterial community at phylum level. The contents of Firmicutes, Proteobacteria and Actinobacteria in the sclerotium samples and soil samples were positively correlated with organic nitrogen (Org-N) and nitrite nitrogen (NO2−-N), and it is negatively correlated with ammonium nitrogen (NH4+-N) and nitrate nitrogen (NO3−-N) and has the greatest influence on organic nitrogen content. Chloroflexi and Acidobacteria are positively correlated with ammonium nitrogen and nitrate nitrogen, and negatively correlated with organic nitrogen and nitrite nitrogen. Among them, each bacterial group has the greatest influence on organic nitrogen and ammonium nitrogen. At the genus level (Fig. 9b), in each sample, Sphingobacterium, Staphylococcus, Serratia, Achromobacter, Bacillus, Saccharopolyspora and Saccharopolyspora were found to be oligotrophic Stenotrophomonas, Brevibacterium and Pseudomonas were positively correlated with organic nitrogen and nitrite nitrogen, but negatively correlated with ammonium nitrogen and nitrite nitrogen. RB41 was positively correlated with ammonium nitrogen and nitrate nitrogen, and negatively correlated with organic nitrogen and nitrite nitrogen, in which each bacterial community had the greatest influence on ammonium nitrogen and organic nitrogen. Redundancy analysis between soil nitrogen content and bacterial community. a The influence of bacterial community on soil nitrogen form in each sample at the phylum level. b Regulation of soil nitrogen form content by bacterial communities in each sample at genus level. In the Figure, red arrows represent nitrogen forms in soil environment, blue arrows represent bacterial taxa in different samples, and the length of arrows represents the degree of correlation between nitrogen forms in soil environment and the data of bacterial taxa in different samples. The blue line indicates the guide line Effects of aqueous solution of nitrogen secreted by C. chanhua on soil bacterial communities The results of OTUs cluster analysis showed that 25,213 OTUs were detected in 27 phyla, 74 classes, 223 orders, 433 families, 766 genera, and 1414 species in SNN and SNck in six samples (there replicates). As can be seen from Fig. S9, Shannon-Winner exponential curve becomes flatter and no longer increases with the increase in the number of sample sequences, indicating that the depth of sequencing data can more comprehensively reflect the bacterial community information in sequenced SNN and SNck samples. At the phylum level, the bacterial community composition of SNN was simpler than that of SNck (Fig. 10a). In SNN samples, Firmicutes (85.94%) was the dominant phylum, and Proteobacteria (8.08%) was the minor dominant phylum. In SNck samples, Proteobacteria (52.51%) is the main dominant group, while Acidobacteria (13.40%) and Actinobacteria (11.16%) are the secondary dominant groups. Therefore, the bacterial community in the soil samples can be reduced at the phylum level by adding C. chanhua exonitrogen aqueous solution to the soil. At the genus level, the dominant bacterial groups in the soil samples of SNN and SNck are not the same, but the number of dominant bacterial communities is similar (Fig. 10b). The bacterial community of SNN samples was dominated by Sporosarcina (58.72%). The bacterial groups such as Pseudomonas (3.91%), Bacillus (2.83%), Psychrobacillus (2.42%) and Staphylococcus (1.47%) also accounted for a certain proportion. Compared with SNN, the bacterial community composition of SNck was more complex, it was mainly composed of Massilia (5.19%), Sphingomonas (4.56%), Candidatus_Solibacter (3.59%), Bradyrhizobium (3.52%) and Streptomyces (2.61%), RB41 (2.55%), Burkholderia-Caballeronia-Paraburkholderia (1.37%), Aquisphaera (1.30%), Reyranella (1.06%) and other bacterial groups were composed. Therefore, at the geneus level, the bacterial community composition in SNN and SNck samples was different, indicating that the aqueous nitrogen solution secreted by C. chanhua is able to change the bacterial community in the soil environment. The analysis of the significance of differences between groups showed (Fig. 10c) that the relative abundance of SNN and SNck in soil samples accounted for no significant difference in the average relative abundance of the top 15 bacterial genera (p > 0.05), indicating that the bacterial communities in SNN and SNck samples were similar, that is, the aqueous solution of C. chanhua exonitrogen had no significant effect on soil bacterial genera. Venn analysis of SNN and SNck showed that there were 416 OTUs in SNN and SNck, 3,381 OTUs were unique to SNN and 18,287 OTUs were unique to SNck (Fig. 10d). The amount of bacterial OTUs in SNN was much lower than that in SNck samples, suggesting that aqueous solution of nitrogen secreted by C. chanhua can reduce the diversity of bacterial community in soil environment. The aqueous solution of exocrine nitrogen of C. chanhua can reduce the number of soil bacterial communities. a Bacterial community relationship diagram of SNN and SNck at phylum level. b Relative abundance map of bacterial community composition at the genus level in SNN and SNck samples. c The bacterial communities between SNN and SNck samples were significantly different at genus level. d Analysis of the amount of common and endemic OTUs in SNN and SNck soil samples. e–h α diversity index of bacterial communities in SNN and SNck samples: e Ace index; f Chao 1 index; g Simpson index; h Shannon index The α diversity index of bacterial communities in SNN samples of the experimental group and SNck samples of the control group was compared and analyzed (Fig. 10e–h). The Ace and Chao indices in SNN and SNck samples were between 1232 and 7196, respectively, and SNN was significantly lower than SNck. In addition, Shannon index showed that there was no significant difference in bacterial diversity between SNN and SNck samples, while Simpson index showed that SNN was significantly higher than SNck. Therefore, aqueous solution of nitrogen secreted by C. chanhua can affect the diversity of bacterial community in soil environment. Ace, Chao and Shannon indices of soil bacterial communities were decreased, indicating reduced richness and diversity. Conversely, the increase in the Simpson index reflects a decrease in community evenness, signifying greater dominance by fewer bacterial taxa [52]. Functional prediction analysis of bacterial communities in SNN and SNck samples Figure 11a shows that 35 shared functions of bacterial communities in SNN and SNck samples at the the secondary pathway level include amino acid metabolism, biosynthesis of other secondary metabolites, and cancer: overview, carbohydrate metabolism, cardiovascular disease, cell growth and death, etc.; The bacterial community in SNck samples had two unique structures, including cellular community-eukaryotes and sensory system. There were no endemic structures in the SNN soil samples. Therefore, the C. chanhua exonitrogen aqueous solution can reduce the function of bacterial community in soil environment. More detailed descriptions of the KEGG and COG functions of the bacterial communities can be found in the Supplementary Information (Text S8). As can be seen from Fig. 11b, the relative abundance of amino acid metabolism, the KEGG function closely related to the nitrogen cycle, in SNN and SNck samples ranged from 12.78% to 13.86%, was second only to carbohydrate metabolism (12.97–13.14%). As can be seen from Fig. 11d, the relative abundance of amino acid metabolism, a KEGG function closely related to nitrogen cycle, in SNN and SNck samples was 12.78–13.86%, second only to carbohydrate metabolism (12.97–13.14%). In SNN and SNck samples, the COG functions closely related to the nitrogen cycle, amino acid transport metabolism, accounted for a relative abundance of 12.78–13.86%, higher than other COG functions (Fig. 11c). As can be seen from Fig. 11d, in SNN and SNck samples, the relative abundances of KEGG function–amino acid metabolism, which is closely related to the nitrogen cycle, are 13.86% and 12.78%, respectively; and the relative abundances of COG function–amino acid transport metabolism are 9.25% and 10.52%, respectively. SNN is higher than SNck in both cases. It can be further demonstrated that C. chanhua exocrine nitrogen aqueous solution can improve the function related to nitrogen cycling in soil environment, that is, C. chanhua exocrine nitrogen aqueous solution can promote soil nitrogen cycling. Functional prediction analysis of bacterial communities in SNN and SNck. a Common and specific functions of bacterial groups in SNN and SNck soil samples. b KEGG functional heat maps of bacterial communities in SNN and SNck samples at the secondary taxonomic level. c Functional classification of COG of bacterial communities in SNN and SNck samples. d Relative abundance maps of functions related to soil nitrogen cycling in SNN and SNck soil samples Isolation and identification of bacterial strains related to nitrogen conversion in C. chanhua The bacteria isolated and purified by dilution coated plate method and plate scribing method were cultured in LB medium or beef paste peptone medium for 48 h, and the ammonium nitrogen and nitrite nitrogen contents in the bacterial broth were measured. Among them, 15 bacterial strains had significantly higher ability to produce ammonium nitrogen or nitrite nitrogen than other strains, including eight bacteria on LB medium and seven bacteria on beef extract peptone medium, designated as L1~L8 and B1~B7 respectively. As can be seen from Fig. 12a, the content of ammonium nitrogen in bacterial fluid of strains L4 and B5 was significantly higher than that of other strains. And the content of nitrous nitrogen in bacterial fluid of strains L4 and B1 was significantly higher than that of other strains (Fig. 12b). Therefore, the B1 strain isolated from IS in C. chanhua can produce NO2−-N, the B5 strain can produce NH4+-N, and the L4 strain can produce both NH4+-N and NO2−-N. The colony morphology of L4, B1 and B5 on plate medium is shown in Fig. S11, and the colony color and morphology of L4, B1 and B5 are shown in Table S2. DNA samples were detected by 2% agarose gel electrophoresis, and the PCR characteristic amplification bands of bacterial strains L4, B1 and B5 were clear and bright at about 1,500 bp, with appropriate concentration and no drag (Fig. S12). Gene sequencing results showed that strains B1, B5 and L4 were associated with Delftia sp. (GenBankaccession: MK414965.1) and Delftia acidovorans (GenBankaccession: MK414884.1), the 16S rRNA nucleotide sequence identity of Pseudomonas protegens (MK235212.1) was 99.92%, 99.85% and 100.00%, respectively (Table S3). The taxonomic status of the three bacteria is shown in Table S4. The three bacteria belong to one kingdom, one phylum, one classes, two orders, two families, two genera. By constructing phylogenetic tree with sequences with high similarity (as shown in Fig. 12c–e), it was further revealed that B1 and B5 belonged to Delftia sp., and L4 belonged to Pseudomonas sp. Identification of bacterial strains associated with nitrogen conversion in C. chanhua. a Ammonium nitrogen content of different bacterial strains. b Nitrite nitrogen content of different bacterial strains. c Phylogenetic tree of 16S rRNA gene sequence of strain B1. d Phylogenetic tree of 16S rRNA gene sequence of strain B5. e Phylogenetic tree of 16S rRNA gene sequence of strain L4; Lower case letters indicate the significance of α diversity in SNN and SNck bacterial communities at p < 0.05 As can be seen from Fig. 7b, Delftia spp. (represented by isolated strains B1 and B5) were not among the dominant bacterial genera. In contrast, the Pseudomonas genus was a dominant group in S3 samples (14.31% relative abundance). Strikingly, we successfully isolated a Pseudomonas sp. strain L4 from the samples, which was found to produce both ammonium and nitrite nitrogen in culture. This suggests that the dominant Pseudomonas population may include members with active roles in nitrogen transformation. In addition, Fig. 9b shows that the Pseudomonas genus is positively correlated with the two factors of organic nitrogen and nitrite nitrogen, and negatively correlated with ammonium nitrogen and nitrate nitrogen. Therefore, the dominance and correlation patterns of the Pseudomonas genus suggest its potential to promote nitrogen cycling in C. chanhua. The nitrogen-transforming capabilities of the isolated strain L4 provide direct, culturable evidence supporting this ecological inference. Figure 13a shows that the relative abundance of Pseudomonas in C. chanhua decreases first and then increases. In particular, the abundance of Pseudomonas in P3 stage of C. chanhua is much higher than that in P1 stage and P2 stage.Therefore, with the growth of C. chanhua, the abundance of the Pseudomonas genus, which our isolate L4 has shown to be functionally involved in the nitrogen cycle, increases. The relative abundance of Pseudomonas in the soil samples at P2 stage was greater than that at P3 stage, indicating that the proportion of Pseudomonas in the soil increased with the extension of cultivation time. The content of Pseudomonas in BS was also increasing, so it could be speculated that nitrogen-converting bacteria, such as the Pseudomonas strains characterized in this study, were secreted into the soil. Figure 13b shows that the relative abundance of Pseudomonas in SNN samples was 3.91%, and that in SNck samples was only 0.03%. Therefore, the aqueous nitrogen solution secreted by C. chanhua promoted the enrichment of Pseudomonas in the soil environment. Together with the functional characterization of the endophytic isolate L4, these results provide supporting evidence that Pseudomonas spp. associated with C. chanhua may promote the participation of the host in soil nitrogen cycling to a certain extent. The relative abundance of Pseudomonas in different samples. a The relative abundance of Pseudomonas in each sample. b The relative abundance of Pseudomonas in SNN and SNck sample Discussion In the process of soil nitrogen cycling, different forms of nitrogen have their unique functions and effects. Soil total nitrogen can be divided into organic nitrogen and inorganic nitrogen, which is an index to measure the nitrogen fertilizer power of soil [53]. This study found that nitrogen in the C. chanhua cultivated with soil covered would be secreted into the soil environment, and the nitrogen content in BS gradually increased with the extension of cultivation time, suggesting that the cultivation of C. chanhua by covering soil could improve soil fertility. Soil organic nitrogen in C. chanhua is considered to be an important factor in maintaining soil quality and fertility [54], accounting for more than 80% of soil nitrogen [55]. Inorganic nitrogen includes nitrate nitrogen, ammonium nitrogen, nitrite nitrogen, hydroxylamine nitrogen, etc. Nitrite nitrogen is one of the nitrogen compounds occurring in nature, and its content is important for understanding soil nitrogen utilization and loss, evaluating soil fertility, and rational nitrogen application [56]. Nitrate and organic nitrogen are one of the available nitrogen sources that can be directly absorbed by plants [57]. As an important soil fertility indicator, an increase in soil nitrate content can promote vegetable growth within a certain numerical range [58]. Ammonium is the main source of nitrogen nutrients absorbed by plants and an important product or reactant in soil nitrogen transformation [59]. Hydroxylamine (NH2OH) and nitrite nitrogen (NO2−-N) can chemically react with iron, manganese, and organic matter to produce nitrous oxide and high N2O content contributes to global warming [60, 61]. The intermediate products of soil nitrogen cycling, ammonium nitrogen, hydroxylamine nitrogen, and nitrite nitrogen, are inhaled by C. chanhua from the soil environment and used for the growth and development of C. chanhua, thereby reducing the contents of ammonium, hydroxylamine, and nitrite nitrogen in the soil environment and increasing the contents of organic nitrogen and nitrite nitrogen. Therefore, the growth of C. chanhua promoted the process of soil nitrogen cycling. In terms of the stability and diversity of bacterial communities, hydroxylamine nitrogen in the soil environment decreases bacterial diversity, whereas ammonium nitrogen can maintain it when increased to a certain extent [62]. Therefore, cultivation of C. chanhua in soil can maintain the diversity of bacterial communities to some extent. All processes of the soil nitrogen cycle are microbiologically driven [63], with ammonification, the decomposition of organic nitrides by microorganisms to produce ammonia [64], the rate-limiting step in the soil nitrogen cycle and a central link in the global nitrogen cycle [65, 66]. During the growth of C. chanhua cultivated under soil cover, IS of C. chanhua secreted organic nitrogen into the soil environment, which not only ensures the normal growth of secreted, but also increases the ammonification rate, thereby accelerating the soil nitrogen cycling process [67]. Denitrification is mainly driven by facultative anaerobic nitrate reducing bacteria [68]. During denitrification, autotrophic denitrifying microorganisms using carbohydrate metabolism and heterotrophic denitrifying microorganisms using organic carbon sources as electron donors gradually reduce nitrate (NO3−) to nitrite (NO2−) [69]. In this study, we found that nitrate in C. chanhua cultivated in the soil would be discharged into the soil environment, which would increase denitrification and promote soil nitrogen cycling. Soil net nitrogen mineralization rate is an important indicator of soil nitrogen cycle and supply capacity, reflecting the dynamic process of soil nitrogen transformation from organic to inorganic forms, which is of great significance for agricultural production and ecosystem management [70]. By increasing the net nitrogen mineralization rate of soil, it can increase the nitrogen supply capacity of soil, improve plant growth and yield [71], while reducing the risk of nitrogen loss and protecting the environment [72]. This study found that the soil net nitrogen mineralization rate of BS was significantly higher than that of CS, indicating that C. chanhua can provide more directly absorbable and utilizable nitrogen for the plants in its microenvironment, thereby promoting the growth and development of the plants [73]. Bei et al. [74] research found that the activity and quantity of microorganisms in the soil increase with the increase of the net nitrogen mineralization rate, because microorganisms can utilize newly added inorganic nitrogen for growth and metabolism. In addition, the increase in the net nitrogen mineralization rate of the soil will also make the nitrogen cycle process in the soil more active, which is conducive to maintaining soil fertility and the health of the ecosystem [75]. Therefore, C. chanhua can increase the net nitrogen mineralization rate in the soil environment, thereby promoting the process of soil nitrogen cycling. The nitrification rate of soil net nitrogen is an important indicator for measuring nitrification in the soil nitrogen cycle process, reflecting the dynamic process of nitrogen transformation from ammonium nitrogen to nitrate nitrogen in the soil [76]. This study found that the nitrification rate of net nitrogen in BS of C. chanhua was significantly higher than that in CS. The increase in the net nitrogen nitrification rate means that more ammonium nitrogen in the soil is converted into nitrate nitrogen, and nitrate nitrogen is more easily absorbed and utilized by plants, thereby enhancing the soil’s nitrogen supply capacity and promoting plant growth [77]. Li et al. [78] found that higher net nitrogen nitrification rates contribute to the maintenance of ecosystem health and stability. Therefore, C. chanhua promoted soil nitrogen cycling by increasing net nitrogen nitrification efficiency in the soil environment. Soil net ammonification rate was defined as the rate at which soil organic nitrogen was decomposed into ammonium by microorganisms in a certain period of time [79]. The net ammonification rates of both BS and CS were negative, indicating that the reduction rate of ammonium in soil exceeded the conversion rate of organic nitrogen to ammonium during the growth stage of C. chanhua [80]. The possible reason was that the cultivation of C. chanhua increased organic matter and microbial activity in the soil environment, which might rapidly absorb ammonium nitrogen in the soil for growth and metabolism [79]. In this study, we reported that the net nitrogen ammonification rate in BS was significantly lower than that in CS. The possible reason was that the cultivation of C. chanhua reduced the microbial activity in the soil environment, which reduced the decomposition and transformation of organic nitrogen, leading to a decrease in the net nitrogen ammonification rate [81]. In conclusion, C. chanhua increased soil nitrogen transformation rate, thereby enhancing soil nitrogen cycling. Cordyceps chanhua and its habitat contain not only a large number of fungal community structures [69], but also abundant bacterial communities [82]. In this study, it was found that the bacterial community diversity in IS of C. chanhua decreased first and then increased, which was contrary to the results of other researchers [47], possibly due to the different cultivation environments [69]. In this study, soil cover was cultivated in the laboratory, sterile water was added for moisturizing, and the amount of water for soil-covered C. chanhua was different from the rainfall in the natural environment. Previous studies have shown that water factor is a major factor affecting microbial activity, gene expression, and community composition [82]. Therefore, this also leads to the change of bacterial community diversity during the growth of C. chanhua. In this study, the bacterial community composition analysis showed that Stenotrophomonas, Achromobacter, and Serratia were dominant in JC sample. Bacillus and Cedecea were the dominant groups in S2 sample. Achromobacter, Staphylococcus, and Pseudomonas were the dominant bacterial groups in S3 sample. The results of this study were not exactly the same as those of other studies. Qu et al. [69] studied the bacterial communities of wild C. chanhua, and the results showed that the most dominant bacterial genus was Cedecea, followed by Rickettsia and Burkholderia-Paraburkholderia. Huang et al. [83] analyzed the microflora of wild C. chanhua in Anji, Zhejiang and found that Achromobacter, f__Enterobacteriaceae_Unclassified, Stenotrophomonas, Burkholderia-Caballeronia-Paraburkholderia Allorhizobium, Neorhizobium, Pararhizobium, Rhizobium are the main dominant bacterial groups in the C. chanhua community. Therefore, the bacterial communities of C. chanhua have different characteristics in different growth environments and different growth stages. Even if there are the same bacterial groups, the abundance is different. As one of the most abundant and abundant microbial populations in the soil microbial community, bacteria are closely related to the complexity of soil [84]. There were 18 common OTUs in JC, S2, and S3 samples, indicating that the growth and development of C. chanhua cannot be separated from some specific bacterial groups, which is consistent with our previous conclusion [47]. Liang et al. [85] found that the bacterial communities in C. sinensis were closely related to the external environmental conditions in which they grew, and the bacterial communities in C. chanhua growing in different places were also different [84]. Mou et al. [86] analyzed the diversity of bacterial community in the inner sclerotium and membrane of C. chanhua growing in Guiyang, Guizhou Province, and the soil of its habitat, and the results showed that the diversity of bacterial community in the soil environment was significantly higher than that in the inner sclerotium samples, which was similar to the results of this study. In other words, the diversity of bacterial community in soil samples was significantly higher than that in inner sclerotium samples. And the results of previous studies using modern molecular biological methods were similar [87, 88]. The microbial composition in IS of C. chanhua was significantly different from that in the soil environment, possibly because the colonization of cordyceps fungi may reshape the internal environment of the infected insects [83]. Changes in soil physical and chemical properties can easily affect the diversity and composition of bacterial communities; conversely, environmental factors have a greater impact on soil bacterial community structure [89]. As the main undertakers of biochemical processes in soil, microorganisms have important contributions to soil nutrient conversion, soil fertility and soil health [90]. Previous studies have found that different nitrogen forms can affect the bacterial groups in soil environment, such as ammonium nitrogen and nitrate nitrogen can affect the total bacterial and nitrogen-fixing bacteria communities in acidic red soil [69]. In addition, nitrogen morphology can significantly affect the number of bacterial operational taxa and Shannon index [91]. Luo et al. [22] found that C. militaris of the same genus as C. chanhua can utilize organic nitrogen and some inorganic nitrogen, among which the utilization level of ammonium nitrogen is higher than that of other inorganic nitrogen, which is similar to the results of this study, that is, each bacterial community has the greatest influence on ammonium nitrogen and organic nitrogen. Organic nitrogen can effectively improve soil physical and chemical properties, enhance soil fertility, and provide a good growth environment for soil bacteria [92]. Moreover, organic nitrogen can significantly increase the richness and diversity of bacterial communities in soil [93]. Ammonium nitrogen is the main form directly absorbed by plant roots from soil, and it is also an important index to measure soil fertility [94]. The content and distribution of soil ammonium nitrogen absorbed and utilized by plant roots not only have an important impact on the soil nitrogen cycling process [95], but also the level of plant productivity is closely related to the level of soil ammonium nitrogen content [96]. The plants can directly absorb and utilize nitrate nitrogen and ammonium nitrogen, and changes in the content of these two kinds of nitrogen can affect plant productivity [61]. Ding et al. [97] showed that nitrate nitrogen is the main environmental factor affecting soil microbial community, and Yuan et al. [98] found that soil ammonium nitrogen plays an important role in soil bacterial community, which may be due to the selective use of different forms of nitrogen in soil. The cultivation of C. chanhua in the soil will release excess nitrate nitrogen in the insect and absorb ammonium nitrogen in the soil environment. Therefore, C. chanhua can be associated with it in the later stage, and the mechanism of C. chanhua improving crop quality and yield can be explored from the perspective of nitrogen fertilizer. Soil bacterial community diversity is very sensitive to changes in the external environment, and is often regarded as an early warning indicator of changes in soil ecosystem, an important basis for evaluating soil quality and fertility [99], and is also commonly used to evaluate the health of soil ecosystem [100]. One of the important reasons for the changes of soil bacterial community is the changes of soil physical and chemical properties. Soil bacteria are an extremely important part of soil microecosystem, participating in various activities such as soil nutrient transformation [101]. This study found that exonitrogen aqueous solution of C. chanhua could reduce the richness, diversity and functions of bacterial communities in soil, and increase the relative abundance of functions related to nitrogen cycling. Soil physical and chemical properties may be an important driving factor for the change of soil microbial community [102]. Since the exocrine nitrogen aqueous solution of cultivated C. chanhua changes soil nitrogen status, soil microorganisms also change correspondingly. The main bacteria regulating the nitrogen conversion process are ammoniating bacteria and denitrifying bacteria, while the number of nitrifying bacteria is relatively small [103]. Therefore, this study mainly focused on isolation, cultivation and identification of bacterial strains producing high levels of ammonium and nitrite nitrogen. The results showed that B1 and B5 belong to the genus Delftia sp., and B5 is the type species D. acidovorans of the genus. Delftia not only has good biocontrol potential [104, 105]. Moreover, it also affects the transformation and mineralization of organic pollutants in the environment [106], and the environmental bioreactor potential of degradable polyethylene terephthalate to synthetic polyester materials [107]. It has been reported that most Delftia bacteria are capable of degrading harmful organic matter [108, 109], residual pesticides in soil, etc. [106]. It was identified that strain L4, which can produce both NH4+-N and NO2−-N, belongs to Pseudomonas protegens, which is closely related to agriculture and can infect and kill pests. It can be used as a biological control agent [110]. In this study, three strains of bacteria with high ammonium nitrogen or nitrite nitrogen production were isolated from IS of C. chanhua. As an entomogenous fungus, C. chanhua can be applied to biological control [111]. Whether its biocontrol ability is related to the bacteria in C. chanhua is worthy of further study. Conclusions In this study, it was found that during the growth of C. chanhua absorb ammonium nitrogen, nitrite nitrogen and hydroxylamine nitrogen in the soil, and nitrate nitrogen and organic nitrogen were secreted. C. chanhua increased the rate of soil nitrogen conversion, thus promoting the soil nitrogen cycle in the microenvironment. The growth of C. chanhua decreased the diversity of soil bacterial community, but increased the relative abundance of bacterial community related to nitrogen cycle. The bacterial community inside and outside the C. chanhua mycelia had the greatest influence on ammonium nitrogen and organic nitrogen. Nitrogen excreted by C. chanhua further decreased the diversity of soil bacterial community, but increased the abundance of bacteria associated with nitrogen cycle. The bacteria related to the conversion were isolated from C. chanhua, and it was verified that the endophytic bacteria promoted the participation of C. chanhua in soil nitrogen cycle. Supplementary Information Below is the link to the electronic supplementary material. Supplementary Material 1. Acknowledgements Not applicable. Abbreviations The rigor stage Membrane formation stage Mature stage Inner sclerotium Bacteriospheric soil (soil tightly wrapped about 0.2 cm of the insect body) Control soil (soil without C. chanhua in the same conditions) SOIL samples with aqueous solution of exonitrogen from C. chanhua added Soil samples without the addition of exonitrogen aqueous solution of C. chanhua were compared with SNck Inner sclerotium of C. chanhua at P1 stage Inner sclerotium of C. chanhua at P2 stage Inner sclerotium of C. chanhua at P3 stage Bacteriospheric soil samples of C. chanhua at P2 stage Soil samples without C. chanhua at P2 stage, which contrasted with Sm2 Bacteriospheric soil samples of C. chanhua at P3 stage Soil samples without C. chanhua at P3 stage, which contrasted with Sm3 Author contributions G.H. and X.Z. conceived the project; Y.Y. and Z.X. designed experiments; J.Q., T.W., Y.R., Y.Z., Y.H., and Y.D. performed research; G.F., J.Z., and C.D. analyzed data; and G.H., T.H. and X.Z. wrote the paper. Funding We gratefully acknowledge financial support from the National Natural Science Foundation of China (32060038) and Science and Technology Project of Guizhou Province (Qian ke he Foundation [2020]1Z009). Data availability The data supporting the findings of this study are available within the paper and its supplementary information. The raw amplicon sequence data (16S rRNA gene) generated in this study have been deposited in the NCBI Sequence Read Archive (SRA) under BioProject accession number PRJNA1141932. Source data are provided in this work. Declarations Ethics approval and consent to participate Not applicable. Consent for publication Not applicable. Competing interests The authors declare no competing interests. Footnotes Publisher's Note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Contributor Information Tao Wang, Email: wangtaotougao@126.com. Xiao Zou, Email: xzou@gzu.edu.cn. References Associated Data Supplementary Materials Supplementary Material 1. Data Availability Statement The data supporting the findings of this study are available within the paper and its supplementary information. The raw amplicon sequence data (16S rRNA gene) generated in this study have been deposited in the NCBI Sequence Read Archive (SRA) under BioProject accession number PRJNA1141932. Source data are provided in this work.