1 Introduction

High nitrogen (N) fertilization reduced the N utilization efficiency (NUE) and crop yield, particularly in vegetable soil (Ma et al. 2019). The average annual nitrogen application to vegetable soils was 3–5 times higher than that of grain-producing soils in China (Sun et al. 2020b), and caused a series of environmental pollution and agricultural product safety problems (Ti et al. 2015). It is therefore urgent to decrease chemical fertilizer use and improve vegetable yields toward a sustainable agroecosystem (Ventura et al. 2019).

Biochar, based primarily on agricultural residues, such as straw and animal manure, has emerged for soil fertility improvement in agriculture. By the reason of extensive specific surface area, elevated pH, and abundant functional groups, biochar could improve the soil physical and chemical properties while retaining soil-enriching nutrients (Novak et al. 2009; Ding et al. 2016); it can reduce the dependence on chemical fertilizers and enhance vegetable yields (Guo et al. 2020). The effectiveness of biochar in improving vegetable yields (Hossain et al. 2020) and reducing soil N loss (Gul et al. 2015) had been demonstrated in a number of studies. It suggested that soil N content might be increased by biochar through nutrient retention (Singh et al. 2022), while others had suggested that biochar exhibited no effect or even negative effects on it or crop yields due to the complex soil environments and microbial composition and functions (Ali et al. 2020). The conflicting observations were mostly attributable to biochar’s influence on soil environments, while the effects on microbial processes remained unclear.

Microbial communities are crucial to various aspects of agroecosystems, including crop yield, soil carbon, the mobilization of nutrients, and structural enhancement (Rasul et al. 2022). It had been shown to be impacted by N in numerous studies, either directly or indirectly, by modifying the soil C/N content or other soil properties. Moreover, several studies had suggested a decline in soil microbial diversity as a consequence of N fertilizer, attributable to the heightened prevalence of nitrophilous species (Hu et al. 2017). Nonetheless, the precise microbial mechanisms underlying the impact of N fertilizer on vegetable yields remain undisclosed. The microbial community composition is largely regulated by N levels (Ramirez et al. 2010). With low N levels favoring increased microbial diversity, high N levels have the opposite effect (Zeng et al. 2016). Nonetheless, the relationship between bacterial diversity and crop yield did not always exhibit a positive correlation (Ren et al. 2020). Thus, focusing solely on bacterial diversity might not fully elucidate how biochar affected crop yield. Recently, it had been observed that crop yield was significantly affected by fungi. Nevertheless, the influence of biochar on plant growth via fungal interactions under varying levels of N fertilizer was yet to be comprehensively understood (Ullah et al. 2019). Furthermore, compared with the bacterial influences, the fungal communities exhibit a higher level of complexity and comprise numerous pathogenic fungi. Consequently, alterations in the fungal communities could lead to greater uncertainty regarding crop yield (Gao et al. 2021). Also, few studies had focused on uncovering the microbial pathway underlying the yield impacts of biochar, specifically regarding bacterial and fungal processes under varying levels of N. Therefore, further investigation is necessary to elucidate the interconnected relationships among biochar, soil bacteria and fungi, and crop yield. Considering the issue of high N fertilizer in the facility’s vegetable field (Sun et al. 2020b), pot experiments were conducted using pig manure biochar as a treatment, as it is commonly employed in agricultural settings. In our pot experiments, two treatments of N fertilizer were designed, namely, normal level of 100 mg N kg−1 and high level of 200 mg N kg−1, and four gradients of biochar (0%, 0.5%, 1%, and 2% w/w). The effect of biochar on vegetable yield, the communities’ structure, and diversities of soil bacteria and fungi were investigated under varying levels of N fertilizer. In addition, we explored the primary microbial pathways of biochar that influenced pakchoi yield. We hypothesized that (1) microbial regulation of biochar on pakchoi yield mainly relies on bacteria; (2) biochar can also affect pakchoi yield by affecting the soil fungal community, but this effect may be negative, as a result of an increase in pathogenic fungi.

2 Materials and methods

2.1 Soil collection and properties

Soil was collected in a vegetable plantation of Shandong Province of China (121°69′ N, 37°37′ E), air-dried, cleaned, crushed, and sieved (2 mm) for the pot experiments. Table S1 shows the soil properties. A pH meter (OHAUS STARTER3100M) was used to measure the soil pH. Soil moisture content (SMC) was dried at 105 °C until the weight was fixed using the gravimetric method after 24 h. Combustion elemental analyzer was used to measure total C (TC) and N (TN). Fresh soil (10 g) was shaken with 1 M KCl (50 ml) for 1 h and filtered with Whatman No. 42 ashless filter paper, and then the soil ammonium (NH4+-N) and nitrate (NO3--N) were determined by use of automated ion analyzer (Foss 5027, Denmark).

2.2 Biochar preparation and characterization

Biochar was made from pyrolyzed pig manure by N2 purification under O2-limitation (Sanli Company, Shandong Province). Pig manure was carbonized at a pace of 30 °C min−1 to 500 °C and maintained for 2 h. Air-cooled biochar was milled and sieved (2 mm) before characterization and application to the pots. The properties of biochar are also illustrated in Table S1.

2.3 Experiment design

The pot experiment included eight treatments, each with three repetitions. The treatments consisted of two levels of N fertilizer (urea): N1 with 100 mg N kg−1 and N2 with 200 mg N kg−1. In addition, there were four levels of biochar: B0 with 0% biochar, B05 with 0.5% biochar, B1 with 1% biochar, and B2 with 2% biochar (all percentages are w/w).

Five hundred grams of dry-weight soil was placed in each box, and for a duration of 42 days, three pakchoi plants grew in one plot, specifically from July to August 2019. The specifications of each box were 15 cm in length, 10 cm in width, and 6 cm in height. Prior to sowing, the soil was incubated for 1 week, and to keep the water holding capacity at 60%, deionized water was added every day.

All treatments received the same fertilizer rates, consisting of 0.17 g potassium (K) and 0.07 g phosphorus (P) (Zhong et al. 2022).

2.4 Soil properties and plant yield determination

Deionized water was used to wash harvested plants, and then roots and shoots were categorized accordingly. After that, plant samples were oven-dried to determine the N concentration. Pakchoi biomass was dried at 80 °C for 48 h and subsequently weighed. Soil and plant TC and TN were determined by using an element analyzer. As plants were harvested, the soil was also collected. Part of the soil samples were air-dried for subsequent analyses, while the remaining fraction was kept at − 20 °C for molecular analysis.

2.5 Soil DNA extraction and Illumina HiSeq sequencing

The DNA was extracted by using a soil DNA kit (Omega Bio-Tek) following the instructions. The V3–V4 regions of the 16S rRNA gene of bacteria were amplified by primers 338F (5ʹ-ACTCCTACGGGAGGCAGCAG-3ʹ) and 806R (5ʹ-GGACTACHVGGGTWTCTAAT-3ʹ). In order to amplify the internal transcribed spacer (ITS) regions of the fungal genome, primers for ITS1F and ITS2R were used (Bellemain et al. 2010). PCR amplicons were generated, purified, and sequenced using the primers and procedures outlined in Table S3. Sequencing procedure followed standard protocols (Majorbio Bio-Pharm Technology Co. Ltd., Shanghai, China).

2.6 Bioinformatics and statistical analysis

With Trimmomatic, raw fastq files were filtered for quality. Subsequently, FLASH was used to merge the paired-end reads. The clustering of operational taxonomic units (OTUs) with 97% similarity cutoff was done using UPARSE (version 7.1 http://drive5.com/uparse/) with a novel “greedy” algorithm that performs chimera filtering and OTU clustering simultaneously. The Silva (SSU138) 16S rRNA database (bacteria) and UNITE8.0 database (fungi) were used to analyze the taxonomy of OTUs by RDP Classifier algorithm (http://rdp.cme.msu.edu/), with a confidence threshold of 70%. Alpha diversity indices (Shannon and ACE) were analyzed through the use of Mothur (V1.30.2 https://www.mothur.org/wiki/Download_mothur/).

2.7 Statistical analysis

Soil physiochemical properties, plant yield, and microbial diversity index were analyzed by two-way ANOVA with Duncan test (p < 0.05) by SPSS 18.0.

Principal co-ordinates analysis (PCoA) was performed based on Bray–Curtis distances to assess microbial structure differences among the treatments by R (version 4.1.2). Partial Least Squares Path Modeling (PLS-PM) was employed to test possible indirect and direct effects of biochar dosages, soil pH and C/N, microbial diversity, abundance, and structure on pakchoi yields by using the “plspm” package in R (version 4.1.2).

Random Forest (RF) analysis was used to identify the major factors influencing pakchoi yields by “randomForest” package in R (version 4.1.2). The interactions between the soil microbial community and environmental variables (NH4+-N, NO3-N, pH, SMC, TN, and TC) were explored by redundancy analysis (RDA).

The heatmap of the Pearson correlations between the top 20 genera of microbial compositions and soil properties were created with the “heatmap” package. Pearson’s correlation was used to examine the interactions between the yields, soil condition, and the relative abundance of the abundant phyla. For predicting 16S gene function, abundances of the OTU table were standardized using PICRUST 1.1.0.

3 Result

3.1 Pakchoi yield and soil properties

Pakchoi yield was significantly promoted by biochar while reduced by high N fertilizer. Biochar improved the pakchoi yield at both N levels (Table 1). B05 significantly increased the yield compared to B0 by 55.76% at N1 and 75.56% at N2. Moreover, the significant interaction of B and N was found in yield (p < 0.05). Across all treatments, SMC varied between 7 and 12% (w/w) (Table 1). Biochar significantly decreased SMC at N2 level (p < 0.01). Biochar increased the soil pH (p < 0.01) while decreasing by N fertilizer (p < 0.01). Significant interaction between N and B treatments was found in soil pH (p = 0.01). TC was considerably improved by biochar (p < 0.01) across all treatments. Biochar significantly decreased NH4+-N (p = 0.03) and NO3-N (p = 0.04) at N1.

Table 1 Soil properties and yield under biochar and N fertilizer treatments

3.2 Alpha diversity of soil bacterial and fungal community

Biochar significantly affected bacterial and fungal Shannon and ACE index (Table 2). Bacterial Shannon index increased with the dosage of biochar, but decreased at N2 compared to N1. Fungal Shannon index in B1 was significantly higher than that in B0, B05, and B2. The bacterial and fungal ACE index all were significantly improved by biochar. Notably, bacterial ACE index with biochar amendment at concentration of 1% was higher than others at N1 level.

Table 2 Responses of bacterial and fungal α-diversity to biochar and N fertilizer treatments

3.3 Composition of soil bacterial and fungal community

Bacterial communities were primarily composed of Proteobacteria (30.81–35.34%), Actinobacteriota (24.60–31.89%), Gemmatimonadota (8.04–11.76%), Acidobacteriota (7.81–10.24%), and Chloroflexi (8.01–9.24%). At N1 level, biochar significantly influenced the relative abundance of Nitrospirota, Myxococcota, Armatimonadota, WPS-2, Bdellovbrionot, and Sumerlaeota, while high N influenced Gemmatimonadota, Nitrospirota, Myxococcota, WPS-2, Armatimonadota, and Dependente (Fig. S2). The soil bacteria in the genera level was also changed by biochar at both N levels (Fig. 1c). The relative abundance of Arthrobacter, Luteimonas, RB41, and Streptomyces was increased by biochar at two N levels. In comparison, Sphingomonas, Gemmatimonas, Lysobacter, and Nitrospira showed opposite responses. Relative abundance of Gemmatimonas was significantly enhanced at B05, and Lysobacter surged at B2. The relative abundance of Nitrospira soared at B1 and then failed at B2 at N2 levels.

Fig. 1
figure 1

Effect of biochar on different bacterial taxa at different N levels. a Circos plot of bacterial phyla abundances. The direction of the string is from the classification of the phylum to the grouping of the fertilization, and the thickness of the string indicates the level of the abundance of the corresponding group. b Redundancy analysis (RDA) analysis of bacterial community at the OTU level with soil variables. c Bubble chart shows the relative abundance of OTUs at genus-level taxonomy (y-axis) in different treatments (x-axis) and grouped with the phyla level corresponding to the genus

Soil fungal communities were dominated by Ascomycota (48.39–67.13%), Chytridiomycota (9.61–34.60%), Mortierellomycota (8.03–24.82%), and Basidiomycota (5.34–9.50%) (Fig. 2a). Biochar dramatically improved the relative abundance of Mortierellomycota, Ascomycota, and Basidiomycota, while it reduced Chytridiomycota at N1 level. Biochar reduced the relative abundance of Ascomycota, Chytridiomycota, and Basidiomycota, while it increased Mortierellomycota at N2 level. Nevertheless, no significant disparity in fungal abundance was observed among the treatments, except for Kickxellomycota and Glomeromycota at N2 level (Fig. S2c, d). Biochar increased the relative abundance of Mortierella in all N treatments. Chaetomium, Solicoccozyma, and Penicillium were increased at N1 level, while they decreased at N2 level. Fusarium were significantly increased by biochar and N fertilizer (Fig. 2c, Table S5).

Fig. 2
figure 2

Effect of biochar on different fungal taxa at different N levels. a Circos plot of fungal phyla abundances. The direction of the string is from the classification of the phylum to the grouping of the fertilization, and the thickness of the string indicates the level of the abundance of the corresponding group. b Redundancy analysis (RDA) analysis of fungal community at the OTU level with soil variables. c Bubble chart shows the relative abundance of OTUs at genus-level taxonomy (y-axis) in different treatments (x-axis) and grouped with the phyla level corresponding to the genus

Based on PCoA results, it was determined that biochar primarily influenced the clustering of bacterial communities. Principal components (PC) 1 and 2 separately explained 54.74% and 7.62% of variance. The N1B05, N1B1, N2B05, and N2B1 were clustered together, and the other treatment was separated into two groups at PC1. The clustering results of biochar in fungal community were like bacteria at N2 levels, but were not obvious at N1 levels (Fig. S3b).

3.4 Relationship between soil microbial communities, soil properties, and pakchoi yield

RDA assessed how soil properties affected the bacterial (Fig. 1b) and fungal (Fig. 2b) structure. The two axes respectively explained 58.81% and 12.13% of the total variation in bacterial and fungal communities; soil bacterial community structure was highly connected to the TC and pH, followed by SMC, NH4+-N, TN, and NO3-N. Similarly, the structure of the fungal community was closely related to TC, pH, and SMC (p < 0.05). The Mantel test further certified that pH and TC were highly connected to the bacterial community (p < 0.001) (Table 3). The heat map analyzed the Spearman connection between soil properties and microbial composition (Fig. 3). Concerning bacteria community, the soil TC and pH were significantly relevant, which were found to be positively associated to Luteimonas, Arthrobacter, and IMCC26256, and were negatively correlated with Sphingomonas, Gemmatimonas, Gaiellales, C0119, and Nitrospira. For the fungal community, TN was negatively correlated with Penicillium and Ascomycota; TC and pH were correlated positively with Mortierella, Metarhizium, and Aspergillus, while they correlated negatively with Fusarium, Penicillium, and Chaetothyriales.

Table 3 Mantel-test analysis of soil bacteria and fungi with soil physicochemical properties
Fig. 3
figure 3

Heatmap showing the Spearman connection between bacterial (a) and fungal (b) composition and soil variables of different treatments. Red indicates a positive correlation; blue, a negative correlation. The darker the color, the greater the correlation. *0.01 < p ≤ 0.05, **0.001 < p ≤ 0.01, ***p ≤ 0.001

RF predictions were employed to explore the importance of environmental parameters and bacterial and fungal diversity index affected pakchoi yields (Fig. 4). RF indicated that bacterial community diversity and biochar exhibited substantial effects on the pakchoi yields. In addition, soil pH, SMC, and C/N also affected the yield at two N application levels. The results of PLS-PM indicated that the variation of pakchoi yields were mainly driven by microbial abundance and diversity (Fig. 5). Significantly, the yield was positively correlated with bacterial diversity, while a negative association was observed between fungal diversity and structure with yield. Firmicutes, Verruconmicrobiota, Armatimonadota, and Planctomycetota were positively correlated to pakchoi yields; Methylomirabilota and Actinobacteriota were negatively correlated to pakchoi yields (Fig. 6). At bacterial genus level, KF-CM45, TK10, and KD4-96 were positively correlated to pakchoi yields; Lysobacter and Sphingomonas were negatively correlated to yields. For fungal community, only Rhizophlyctis and Chytridiomycota were negatively correlated to pakchoi yield (Fig. 6). All treatments shared similar metabolic pathways (Fig. 7), however, excessive N application reduced the total abundance of main gene types.

Fig. 4
figure 4

Random Forest (RF) predictions of the most influential environmental parameters and bacterial and fungal diversity index on the pakchoi yield at N1 (a) and N2 (b) level. The left panel shows the relative importance of the parameters; the right panel shows the relationship between the parameters and pakchoi yield. The blue lines indicate the predicted trajectories of the pakchoi yield in response to the variables, respectively. BD, bacterial diversity; B, biochar application amount; SMC, soil moisture content; FD, fungal diversity; BS, bacterial community structure; pH, soil pH; CN, soil C/N ratio; FS, fungal community structure

Fig. 5
figure 5

The effects of biochar on pakchoi yield were tested by Partial Least Squares Path Modeling (PLS-PM). Note: The solid red and blue arrows imply significant (p < 0.05) positive and negative effects, respectively; gray dashed lines represent insignificant pathways. The numbers near the lines are standardized path coefficients or the significance of the variables in the model. *, **, and *** represent significant effects at 0.05, 0.01, and 0.001 probability levels, respectively

Fig. 6
figure 6

Heatmap showing the Spearman connection between bacterial (a) and fungal (b) composition and pakchoi agronomic character of different treatments. Red indicates a positive correlation, and blue indicates a negative correlation. The darker the color, the greater the correlation. *0.01 < p ≤ 0.05, **0.001 < p ≤ 0.01, ***p ≤ 0.001

Fig. 7
figure 7

Relative abundance of PICRUST inferred function of bacteria from different treatments

4 Discussion

4.1 Effects of biochar on pakchoi yields under different N levels

The application of biochar has widely been reported to increase crop yields (Wang et al. 2021; He et al. 2021). Our results showed that the improvement in pakchoi yields by biochar at normal N application level (13.46–55.76%) was lower than that of high N application levels (53.33–75.56%) (Table 1). Generally, high N fertilization led to soil acidification and C/N decline (Tables 1 and S4) that limit the growth of vegetables (Bai et al. 2020). Biochar has specific properties that correct soil acidity due to its alkaline nature and high pH (9.17), and the functional groups of biochar such as –COOH and –OH also could contribute greatly to biochar alkalinity when pyrolyzed at lower temperatures (< 500 °C). On the other hand, biochar could improve soil C/N ratio due to its high C contents (Xu, Cai et al. 2021; Xu, Ren et al. 2021) and increase soil nutrient retention capacity due to its developed pore structure (An et al. 2022). Then, it could promote inorganic N uptake by plants and improve pakchoi yield (Zheng et al. 2019; Xia et al. 2022).

4.2 Effects of biochar on the bacterial diversity and composition under different N levels

We found that bacterial diversity was significantly increased by biochar while decreased by excess N in vegetable soil (Table 2). It might be explained by biochar providing a suitable habitat and nutrition as well as expanding ecological niches for soil bacteria (Lehmann et al. 2011). Furthermore, biochar positively impacted bacterial diversity by indirectly influencing soil properties (Gao et al. 2021). For example, biochar significantly decreased soil moisture content, which indicated a lower bulk density and higher soil O2 supply by the addition of biochar, then influencing the microbial communities and diversity (Zheng et al. 2019). High N fertilizer would decrease the soil pH and C/N (Table 1), then lead to soil acidification and increased toxicity of other pollutants (Geisseler and Scow 2014) and reduced carbon utilization efficiency by microorganisms (Lehmann et al. 2011). Thus, high N fertilizer application led to the reduction of microbial diversity in soil (Table 3).

In our study, the dominant bacterial phyla was Proteobacteria, Actinobacteriota, Gemmatimonadota, Acidobacteriota, and Chloroflexi in vegetable soil (Fig. 1 and Table S2). However, all the dominant bacterial phyla did not change with respect to biochar and N fertilizer, while in many non-dominant bacteria phyla such as Actinobacteriota, Bacteroidota, and Myxococcota, their relative abundance was increased by biochar at both N levels. It indicated that biochar mainly affects soil processes by affecting non-dominant bacterial phylum. For example, the change of bacterial genera was consistent with the phyla level; Nitrospira, Frankiales, Gemmatimonas, Gaiellales, and Sphingomonas were shown that they could reduce Fusarium wilt disease incidence and be involved in soil nitrification (Wang et al. 2021; Xu, Cai et al. 2021; Xu, Ren et al. 2021). These findings showed that biochar can increase N turnover rates and disease resistance of vegetables and therefore increase the vegetable yield through bacterial communities. However, our study also showed that biochar also had different effects on some bacterial species between N1 and N2 level soils. At N1 level, biochar enhanced the relative abundance of species beneficial to disease suppression (Acidobacteria) and is involved in degradation of SOM (Chloroflexi) (Xu et al. 2016; Wang et al. 2018). At the N2 level, an increase in the relative abundance of eutrophic species, such as Nitrospira, Patescibacteria, and Planctomycetota, is closely linked to the rapid availability of soil nutrients.

4.3 Effects of biochar on the fungal diversity and composition under different N levels

Previous studies had been conducted to study the effects of biochar on the structure of bacterial communities (Xu et al. 2016), but few studies focused on how biochar affects vegetable yields through fungal communities, especially under high N fertilizer (Yao et al. 2017). In our results, biochar increased fungal diversity by 10.20% and 4.58% at N1 and N2 levels, respectively (Table 2); previous studies have shown similar results that have demonstrated the positive impact of biochar on fungal diversity, albeit with greater sensitivity when compared to bacterial diversity (Bai et al. 2019; Xi et al. 2022; Dong et al. 2022). The heightened sensitivity may be attributed to the rapid changes in soil TC and TN induced by biochar, which is a major contributing factor, particularly in enhancing fungal diversity through the increased soil C content (Singh et al. 2022). Furthermore, studies have indicated that increased N input could potentially decrease fine root production, enhancing recalcitrant compounds, thereby limiting C availability for soil microorganisms and adversely affecting fungal diversity (Ullah et al. 2019). In our results, biochar also increased soil C/N and complex organic substrates, and fungi prefer these changes (Iqbal et al. 2022), and so caused the increased soil fungal diversity by biochar, especially at N1 application level (Table 3).

Several major phyla of soil fungal species have been found, including Ascomycota, Chytridiomycota, Mortierellomycota, and Basidiomycota. We found that N application level affected the effects of biochar on soil-dominant fungal species. At N1, biochar increased the relative abundance of Mortierellomycota, Basidiomycota, and Ascomycota, which was reported as an effective organic matter transformer and consuming SOM (Devi et al. 2020; Sun et al. 2020a; Santillán et al. 2021). At the genus level, biochar also increased the Mortierella, Fusicolla, Chaetomium, Penicillium, and Aspergillus abundance which were able to stimulate production of plant and vegetable growth hormones (Lay et al. 2018) and dissolve organic phosphorus, produce antibiotics and other compounds, induce plant defense, and reduce soil pathogenic bacteria (Wang et al. 2020). In contrast, at excess N levels, the relative abundance of those relative abundances were reduced, especially the Chytridiomycota, whereas the decrease in C/N and higher DOC and DON might be the major factors for the opposite results at N2 levels (Yang et al. 2018; Yun et al. 2021). Notably, Fusarium, as one of potential soil-borne plant pathogens, was enhanced at B0.5 in N2 levels (Fig. 2c) (Dai et al. 2021). Overall, biochar might enhance the functionality of fungal communities in organic matter transport at normal N levels; however, biochar might enhance the ability of fungal communities to reduced soil available nutrients, and it also increased the abundance of pathogenic fungal species.

4.4 The microbial pathways of biochar to regulate pakchoi yield under different N levels

Biochar has been demonstrated to possess the ability to enhance soil microbial diversity through direct and indirect mechanisms. By modulating soil properties across various fertilization levels, biochar promotes plant growth and facilitates nutrient uptake (He et al. 2021). Biochar also is shown to boost crop growth by increasing bacterial diversity and dominant species abundance (Yu et al. 2019). Biochar significantly increased pakchoi yield majorly through the bacterial diversity compared with fungal diversity; the RF and PLS-PM analysis all showed that bacterial diversity was more important than fungal diversity (Figs. 4 and 5). It was not surprising since many previous studies showed that the changed bacterial diversity and the relative abundance of beneficial bacteria such as Acidobacteria, Actinobacteriota, Chloroflexi, and Gemmatimonadota (Yu et al. 2019; Yang et al. 2021; Qiu et al. 2022). They had also been proven to promote the effectiveness improvement of nutrients, especially nitrogen (Franklin and Mills 2006; Ye et al. 2021). In our results, although the soil NH4+-N and NO3-N contents were reduced or were not changed by biochar at N1 and N2 levels, respectively, it might be due to the increase in pakchoi yield leading to its absorption of nutrients by biochar (Table 1). On the other hand, we also found that the strategy of biochar promoting vegetable yield is different between N1 and N2 levels. In the case of relatively insufficient nutrients, plant growth was limited and resulted in poor resistance or stress resistance (Trivedi et al. 2020). Biochar mainly increased the relative abundance of species beneficial to disease suppression and involved in SOM degradation, then improves the stress resistance of crops through conditional microbial community to the increase of vegetable yields. It leads to an increased nutrient absorption capacity of pakchoi from soil, and caused the soil NH4+-N and NO3-N contents to decrease in N1 level in our result (Table 1). At the same time, biochar could also increase the relative abundance of eutrophic species, closely related to soil fast-acting nutrients, and help in regulating the retention capacity of available nutrients through microbial community to improve the yields when nutrients were sufficient or excessive. Although biochar increased pakchoi yield and nutrient uptake capacity at both N levels (Table 1), then caused a reduction of soil inorganic nitrogen nutrients at N1 but no changes of it at N2, it proved that biochar could regulate the retention capacity of available nutrients through microbial community when nutrients were sufficient or excessive. It indicated that biochar and bacterial communities can adjust the promotion strategies for plant growth based on the changes of soil nutrient environments, thereby more effectively improving pakchoi yield.

On the other hand, we found that fungal diversity also played an important role in yields, but the increase in fungal diversity has a negative effect on yields, which was inconsistent with the positive correlation between yield and fungal diversity in previous studies (Rong et al. 2018). In our results, the reduction of nutrient cycling phylum (Chytridiomycota) and enhancement of soil-borne plant pathogens (e.g., Fusarium and Ustilago) by biochar might be the main pathway on vegetable yield (Fig. 6) (Dai et al. 2021; Hanrahan-Tan et al. 2022). However, the pakchoi yield had not been reduced but increased by biochar especially at N2 level (Table 1); this was because the fungal communities had less impact on yield compared with bacterial communities (Fig. 5). The positive effect of biochar on yield through bacterial communities was much greater than the negative effect of the fungal communities. Moreover, we also found that the strategy of biochar in regulating vegetable yield through fungi is also different between N1 and N2. At N1, biochar increased fungal abundance which related to an effective organic matter transformer and consuming, or was able to stimulate vegetable growth hormones and plant resistance (Lay et al. 2018) to increase the vegetable yields. However, biochar could decrease the abundance of effective organic matter transformers and consuming and increase the potential of soil-borne plant pathogens at N2 level, which suggested that biochar might have a negative impact on vegetable yield by regulating the composition of fungal communities. This was different from the strategy of biochar regulating bacterial communities’ structure (Figs. 1 and 2); it was also different from many studies which showed that biochar could reduce the abundance of Fusarium in crop soil (Yao et al. 2017; Shen et al. 2019; Bonanomi et al. 2022). Most of these studies have conducted experiments in neutral or slightly alkaline soils; biochar further increased the soil pH then reduced the abundance of Fusarium in the soil (Elmer and Pignatello 2011; Zhu et al. 2021; Asif et al. 2023). However, the experimental soil pH was in the range from 5.0 to 6.0 in all treatments (Table 1). In acidic soils, biochar increased the soil pH then provided a favorable habitat for Fusarium. In addition, biochar could promote the growth of Fusarium in the soil by providing refuge from predation, maintaining optimal air and water permeability, and adsorbing antimicrobial compounds secreted by plant roots (Lehmann et al. 2011). The results showed that biochar considerably boosted pakchoi yield in both N levels; it was mainly due to the dominant niche of bacterial community and biochar which could increase the relative abundance of beneficial bacteria. However, there was a large area of acidic soil in farmland especially in southern China (Yang et al. 2022), and many vegetable fields had high nitrogen fertilizer conditions (Liang et al. 2013). Therefore, it was paid attention to increase the risk of crop yield reduction of biochar by regulating the structure and composition of fungal communities under high nitrogen fertilizer condition.

5 Conclusion

Our findings revealed that high nitrogen fertilizer significantly reduced pakchoi yield. Biochar increased pakchoi yield at both N levels, and majorly through regulated bacterial rather than fungal community. Notably, in N1 and N2, biochar influenced soil microbial regulation of vegetable yield differently. Under normal N levels, biochar demonstrated the ability to augment the relative abundance of species known for their beneficial roles in disease suppression and participation in SOM degradation. This, in turn, enhanced the stress resistance of vegetables through the conditional microbial community, leading to increased vegetable yields. In contrast, under high N levels, biochar promoted the abundance of eutrophic species, associated with the rapid cycling and retention of soil nutrients. This improvement in nutrient availability was facilitated by the microbial community, ultimately enhancing vegetable yields. However, the regulation of fungal communities by biochar is important to note, particularly in conjunction with high N fertilizer, which can potentially elevate the risk of reduced vegetable yields. Furthermore, it should be emphasized that the influence of biochar on soil microorganisms and vegetable yield is a long-term effect that necessitates further investigation.