1 Introduction

Serious environmental and economic problems have resulted from the global expansion of the invasive plants (Lian et al. 2020). More than eight hundred of invasive plants were identified in China, of which 50% are among the top 100 dangerous species according to World Conservation Union statistics (Zhou et al. 2020). Invasive plants have been investigated to affect soil microbial diversity and functionality, soil physical and chemical properties, and nutrients’ cycle (Lian et al. 2020; Sanon et al. 2012, Weidenhamer and Callaway 2010). The present study used three invasive plants as a new feedstock for biochar production, including Blackjack (Biden Pilosa), Wedelia (Wedelia trilobata) and Bitter Vine (Mikania micrantha Kunth). The three invasive plants are among the top noxious species that invade economic crops and orchards, leading to biological suppression and great economic losses (Hui et al. 2019, Mtenga and Ripanda 2022, Qiao et al. 2020). The massive extension in agriculture and industry sectors due to the accelerated increment in global population has resulted in great emissions of nitrogen oxides and sulfur dioxide (SO2), which are the main causes of acid rain (Liu et al. 2022). Globally, acid rain is one of the most serious environmental hazards influencing the biosphere, hydrosphere, and atmosphere (Li et al. 2021b; Taylor et al. 2021). China is one of the largest affected areas by acid rain, following the USA and Europe (Wang et al. 2021a). Acid rain affected 37.6% of the 494 monitored nationwide counties and cities in China in 2018 (Li et al. 2021b). Soil acidification is a direct result of acid rain, which affects soil physical, chemical, and biological properties such as soil organic carbon content (SOC) (Chen et al. 2015), microbial community and enzyme activities (Chen et al. 2020; Liu et al. 2020), and availability of macronutrients (Mosharrof et al. 2021). Therefore, intensive work has been done to ameliorate these effects of acid rain using natural and cost-effective materials such as lime and biochar.

Liming is the common and most effective method to control the acidification of agricultural soils under acid rain through incorporating with soil in the tillage system or broadcasting on the soil surface in a no-tillage system without altering soil quality (Cho et al. 2019; Ryan 2018; Shoghi Kalkhoran et al. 2019). Lime increases soil content of base cations such as calcium (Ca2+) and magnesium (Mg2+) (Kunhikrishnan et al. 2016), which raises soil pH and improves soil microbial and enzymatic activities and nutrients’ availability (Dawid 2017). However, the chemical reaction can be triggered when applying lime to a strong acid soil, which degrades lime and increases CO2 emissions (Cho et al. 2019). Liming rate increased with increasing soil acidity, which could exceed 0.8% for soils with pH less than 4.5 (Holland et al. 2018; Wang et al. 2021b). Our study investigated the effect of severe acid rain (pH = 2.5) on acidic soil (pH = 5.8); therefore, lime was applied at a rate of 1%, agreeing with Mkhonza et al. (2020) and Das and Saha (2014).

On the other hand, biochar has been investigated as an environmentally risk-free soil conditioner (Gonzaga et al. 2018). It is produced through the pyrolysis of feedstock (such as agricultural residues) at 300–1000 ℃ under limited or no oxygen conditions (Tomczyk et al. 2020). Biochar, a carbon-rich material raises soil organic carbon and carbon sequestration (Schofield et al. 2019). Biochar addition to the soil increases its pH and improves nutrient availability and uptake by plants (Hossain et al. 2020; Rabileh et al. 2014). For example, biochar increases the availability of fixed phosphorous with high contents of aluminum (Al3+) and iron (Fe2+) under acidic conditions (Chng et al. 2019) and improves the bioavailability of nitrogen (N), phosphorous (P), potassium (K), Ca2+, and Mg2+ (Syuhada et al. 2016). Various feedstocks have been investigated for producing biochar to improve soil properties, such as wood, agricultural crop residues (rice husk and straw, wheat straw, etc..) and grasses (Ippolito et al. 2020). The physio-chemical properties of the produced biochar differ completely based on the used feedstock, which can influence soil properties differently (Uslu et al. 2020). Accordingly, this study hypothesized that the biochar produced from invasive plants may have different effects on the availability of macronutrients in soils. Also, the present study hypothesized that the biochar produced from invasive plants can be used to ameliorate the negative effects of acid rain on soil better than liming by neutralizing soil pH, increasing microbial and enzyme activity, and augmenting the exchangeable Ca2+ not as high as lime. This study aimed at investigating the effects of biochar produced from invasive plants on the availability of macronutrients in soil as compared with lime under acid rain conditions. Additionally, this study aimed to follow the relation between the availability of macronutrients and other soil properties in response to the applied biochar as compared with liming under acid rain. The findings of this study may contribute to evaluating the possibility of using biochar produced from new feedstocks to ameliorate the adverse effects of acid rain on soil properties.

2 Materials and methods

2.1 Soil sampling and applied amendments

Soil was collected at a depth of 0–30 cm from subtropical agricultural soil (113°38′ E, 23°14′ N) in Zengcheng Experimental Base of South China Agricultural University, Guangzhou, Guangdong Province, China. A rice-maize planting pattern is the common cropping system in this area. Ten individual soil samples covering an area of one hectare were collected following the S sampling pattern and then mixed gently to form the composite sample. The mean annual temperature and precipitation are 22° C and 1977 mm, respectively. The soil texture was sandy loam (647 g sand kg−1 soil, 309 g silt kg−1 soil and 44 g clay kg−1 soil) and was classified as lateritic red soil based on the Chinese taxonomy and located in the Ultisols group according to the USDA taxonomy. The soil available N, P, and K contents were 32.8 ± 1.3, 31.8 ± 0.9 and 114.4 ± 1.58 mg kg−1, respectively. Soil pH (1:2.5 water) was 5.8 ± 0.04, cation exchange capacity (CEC) was 5.8 ± 0.4 cmol kg−1 and EC (1:5 water) was 68.2 ± 0.2.1. The total N content was 1.6 ± 0.04 g kg−1 and SOC content was 9.1 ± 0.3 g kg−1.

The invasive plants (Blackjack, Wedelia, and Bitter Vine) were collected from the Garden of the South China Agricultural University. Biochar was prepared through the thermal pyrolysis of the invasive plants’ straw slowly (2 h) at a moderate temperature (300 °C) without oxygen to attain the complete pyrolysis of the biomass. The biochar produced from the invasive plants (BJ, WT, and BV, respectively) was then cooled, milled, and passed through a 0.25-mm mesh sieve (Yang et al. 2022). The properties of the produced biochar are presented in Fig. 1. For liming, calcium oxide (quicklime) with 3.34 g cm−3 density and 90% purity was utilized. The simulated acid rain was prepared at two pH levels 4.5 (pH4.5) and 2.5 (pH2.5) based on the current acidity of the rain in the experimental area and expected future acidity using H2SO4 (98%) and HNO3 (68%) at a 1:1 mol ratio (Liu et al. 2020). The acidity of the prepared acid rain was adjusted by a pH meter using tap water.

Fig. 1
figure 1

The properties of biochar produced from the three invasive plants presented by the column figures and the relations between these properties and the soil properties as presented by the PCA. The three invasive plants used in biochar production included Blackjack (BJ-biochar), Wedelia (WT-biochar) and Bitter vine (BV-biochar). The soil properties included available N (AN), P (AP) and K (AK), urease activity (UA), exchangeable calcium (Ca2+), aluminum (Al3+) and iron (Fe2+), and alpha diversity of bacteria (SB) and fungi (SF). The biochar properties included B-TN: total N content, B-TC: total carbon content, B-C/N: C/N ratio, pH, B-AN: available N, B-AP: available P, B-AK: available K, B-CEC: cation exchange capacity and B-SSA: specific surface area

2.2 Trial setup

A pot trial was carried out from May 4 to August 5, 2022, and protected from precipitation effects using coverage. This study was implemented using polypropylene pots with dimensions of 9.5 cm bottom diameter, 12.2 cm upper diameter, and 11.2 cm height. The pot bottom had 24 small holes for drainage and was covered with 0.150 mm mesh to avoid leaching soil with the drained water. Before placing the soil into pots, biochar and lime treatments were added at rates of 1 and 3% and well mixed with the soil samples according to a completely randomized split-plot design. The treatments were applied at four replicates. Three water types [tap water (pH7.1), pH4.5 and pH2.5] were applied each two days at a rate of 100 ml based on the mean annual precipitation during 2015–2021 (GMB 2022). The total number of pots used in this experiment was 108, including lime and three biochar types at rates of 1% and 3% under three water pH levels (pH7.1, pH4.5 and pH2.5) and control treatments (tap and simulated waters without amendments) at 4 replicates.

2.3 Investigated parameters

The fresh soil samples were collected as composite samples of the whole pot, air dried, and sieved through a 2-mm mesh. The soil pH was measured using a pH meter (Mettler-Toledo Instruments Co., Ltd., Shanghai, China) in a soil/water suspension (1:2.5). The total N and carbon (C) contents in soil samples were investigated using the elemental analyzer (VarioEL III, Germany). Following the potassium dichromate titration method, SOC was determined in the soil samples (Pansu and Gautheyrou 2006). Available N (NH4+ and NO3) was extracted from the soil samples using 2 M KCl and determined by AA3 Continuous Flow Analyzer (Seal Analytical, Germany). Available P was extracted using 0.5 M sodium bicarbonate and tested according to the molybdenum-antimony anti-spectrophotometric method (Olsen and Dean 1965). The exchangeable cations, including Ca2+, were extracted at pH 7 using a 1 M ammonium acetate solution and determined by flame photometer method, and then the CEC was calculated as the summation of cations (Chapman 1965). Similarly, soil K availability was tested. The contents of Fe2+ and Al3+ were determined using an inductively coupled plasma-optical emission spectrometer after extraction of 1 g of soil and 1 ml of 0.1 M sodium polyphosphate decahydrate solution (Quan et al. 2020).

The activity of the urease enzyme was measured calorimetrically using a spectrophotometer at a wavelength of 578 nm (Tabatabai 1994). Briefly, 5 g of fresh soil were incubated at 37 °C for 24 h with 20 mL of citrate buffer (with pH adjusted at 6.7), 10 mL of urea solution (with a concentration of 10%), and 1 mL of toluene. After incubation, the suspension was filtrated, and 3 mL of the filtrate was moved into a 50 mL volumetric flask. Then, 4 mL of sodium phenolate and 3 mL of sodium hypochlorite (0.9%) were added to produce the color. The alpha diversity of bacteria and fungi was determined using a high-throughput sequencing method. Briefly, following the manufacturer’s protocols, the total DNA was extracted from soil samples using the FastDNA® SPIN Kit for Soil (MP Biomedicals LLC, Solon, OH, USA) (Caporaso et al. 2011). The concentration and quality of the extracted DNA were determined using NanodropTM (Nanodrop, Wilmington, DE, USA). To produce the amplicons, the V4 region of the bacterial 16S rRNA gene was amplified using 515F/806R primer pairs, and the internal transcribed spacer 1 (ITS1) gene was amplified by the primer pairs ITS1/ITS2F. An Illumina MiSeq platform (Illumina, USA) was used to perform the sequencing. The quality of raw sequences was screened and trimmed through  the QIIME pipeline as described by Caporaso et al. (2010).

The C and N contents of the produced biochar were determined using an Elementar Vario EL Cube elemental analyzer. The pH of the produced biochar was tested with a pH meter in the biochar/water solution at a ratio of 1:20 (w/v) (Yang et al. 2016). Similar to soil analysis, biochar CEC, organic C, and available N, P, and K were determined (Yang et al. 2018).

2.4 Statistical analysis

The effects of acid rain, lime, and biochar on the available N, P, K, and other soil biogeochemical properties were evaluated using factorial analysis of variance (ANOVA). The comparisons among the properties of the three biochar types were performed using a one-way ANOVA. Comparisons of means at the significance level of p < 0.05 were carried out by Duncan’s multiple range test. The interaction effects of exchangeable Ca2+, Al3+, and Fe2+, pH, CEC, urease activity, and bacterial and fungal alpha diversity on the available N, P, and K in response to acid rain and the applied amendments were tested in IBM SPSS AMOS 16 software using the structural equation model (Abdo et al. 2022). The path analysis had excellent fit (χ2 = 4.92, P = 0.71, IFI = 0.98, AIC = 51.15 and RMSEA = 0.0003). Principal component analysis (PCA) and Pearson correlation were implemented to summarize the changes in the available N, P, and K and the related soil variables in response to the amendments. The statistics were carried out by SPSS Statistics 22 software (IBM, USA), and Origin 2022b software (Originglab, USA) was used to draw the figures.

3 Results

3.1 Overall effect of the amendments’ type and rate on the available N, P, and K of the soil

BJ-biochar had the highest carbon content, C/N ratio, and availability of macronutrients, while BV-biochar recorded the lowest values of these properties (Fig. 1). On the other hand, the properties of WT-biochar distributed in the middle of the PCA between the other two types. The available N related negatively with the PCA coordinates and was affected dominantly by the WT and BV-biochar, whereas the available P and K correlated positively with the PCA coordinates in response to the BJ-biochar (Fig. 1). The BJ-biochar resulted in the highest N availability (66.3 mg kg−1) of the soil under pH7.1 (Table 1). Similarly, soil available P and K had their highest values under pH7.1 (214.6 and 528.9 mg kg−1), pH4.5 (170.8 and 521.6 mg kg−1) and pH2.5 (155.9 and 512.2 mg kg−1) when applying BJ-biochar, followed by WT-biochar (Table 1). However, the highest values of soil available N (87.6 and 134.8 mg kg−1) under pH4.5 and pH2.5 were recorded when applying BV-biochar followed by BJ-biochar. Liming resulted in the lowest availability of soil N, P and K and caused a reduction in their availability by an average of 36.3% as compared with the control under different pH levels of rain. The maximum rate of amendments (3%) had the highest effect on soil N, P, and K availability, which increased by an average of 30% as compared with their availability under the 1% rate (Table 1).

Table 1 Effect of the amendments’ type and rate on the availability of soil N, P and K

3.2 Response of soil available N, P, and K to the applied amendments

Increasing the acidity level of simulated acid rain increased soil available N, while decreasing the availability of P and K (Figs. 24). This decline was altered by biochar application. The addition of 3% BV-biochar maximized the N availability (80.2, 108.4, and 161 mg kg−1) (Fig. 2) and available P (241.7, 216.7, and 187.8 mg kg−1) (Fig. 3) under pH7.1, pH4.5 and pH2.5, respectively. On the other hand, the maximum available K (703, 693, and 681 mg kg−1) was obtained by the application of 3% BJ-biochar with a sixfold increment over the control (Fig. 4). The addition of 1% BV-biochar had the lowest effect on soil available N, P, and K as compared with other biochar types and rates. The addition of 1% BJ-biochar and 3% WT-biochar had the same effect on N availability under pH7.1 and pH4.5, while 3% BJ-biochar and 3% WT-biochar had the same effect on available N under pH2.5. Interestingly, P availability reduced with the application of 3%  BJ-biochar as compared with 1% at different pH levels (Fig. 3).

Fig. 2
figure 2

Effect of the amendments on the soil available N under simulated acid rain. pH7.1, pH4.5 and pH2.5 indicate the levels of pH of tap water and two simulated acid rain. BJ, WT and BV refer to the three biochar types produced using different feedstocks (Blackjack, Wedelia and Bitter vine, respectively). Uppercase letters refer to the significance at p ≤ 0.05

Fig. 3
figure 3

Effect of the amendments on the soil available P under simulated acid rain. pH7.1, pH4.5 and pH2.5 indicate the levels of pH of tap water and two simulated acid rain. BJ, WT and BV refer to the three biochar types produced using different feedstocks (Blackjack, Wedelia and Bitter vine, respectively). Uppercase letters refer to the significance at p ≤ 0.05

Fig. 4
figure 4

Effect of the amendments on the soil available K under simulated acid rain. pH7.1, pH4.5 and pH2.5 indicate the levels of pH of tap water and two simulated acid rain. BJ, WT and BV refer to the three biochar types produced using different feedstocks (Blackjack, Wedelia and Bitter vine, respectively). Uppercase letters refer to the significance at p ≤ 0.05

The soil N availability decreased by 37.4–61.6% under 3% liming and by 1.3–14.1% under 1% liming as compared with the control (Fig. 2). Liming at rates of 1% and 3% had the lowest P availability, which decreased by 20–25% and 44–50%, respectively, as compared with the control. Liming at a rate of 3% resulted in the lowest K availability (49.5, 48.9 and 48.8 mg kg−1), with a decline of 54% as compared with the control.

3.3 Impact of the amendments on soil biogeochemical properties under acid rain

The simulated acid rain resulted in notable reductions in soil exchangeable Fe2+, urease activity, pH, and CEC, while causing a significant increment in exchangeable Al3+ (Fig. 5). Alpha diversity of soil bacteria and fungi increased by an average of 4.5% under pH4.5, while decreasing by 3.6% and 9.4%, respectively, under pH2.5 as compared with pH7.1 (Fig. 5G and H). The addition of lime at both rates (1% and 3%) caused sharp increments in soil exchangeable Ca2+ by 11–23 times (Fig. 5A) and pH by 44–73% (Fig. 5E) as compared with the control under different acidity levels of simulated rain. On the other hand, biochar resulted in increments in soil exchangeable Ca2+ by three folds and pH by an average of 22.5% as compared with the control. The highest rate of lime and BJ-, WT- and BV-biochar had the same impact on soil exchangeable Al3+, which decreased by an average of 44%, while Al3+ declined by 35% when adding 1% lime and 25–30% under the application of 1% of  BJ-, WT- and BV-biochar (Fig. 5B). Liming decreased the soil exchangeable Fe2+ by 8–13%, while biochar increased Fe2+ by an average of 3.3% as compared with the control (Fig. 5C). Liming increased soil urease activity by 3–11%, while biochar augmented urease activity by 14–20% (Fig. 5D). The addition of 1% lime reduced the CEC by 6%, while 3% lime increased the CEC by 11%. Biochar addition augmented the soil CEC by 34–57% (Fig. 5F). Liming sharply decreased the alpha diversity of soil bacteria by 21–33%, while biochar reduced the alpha diversity by 1–8%. Moreover, the BV-biochar caused the highest reduction (8%) in the bacterial diversity as compared with the other biochar types (Fig. 5G). Liming reduced the alpha diversity of soil fungi by 7–13%, while biochar increased the alpha diversity by 9–13% (Fig. 5H).

Fig. 5
figure 5

Effect of the amendments on the soil biogeochemical properties under acid rain. The properties are exchangeable calcium (Ca2+) (A), aluminum (Al3+) (B) and iron (Fe2+) (C), urease activity (D), pH (E), cation exchange capacity (CEC) (F), and alpha diversity of bacteria (G) and fungi (H). pH7.1, pH4.5 and pH2.5 indicate the levels of pH of tap water and two simulated acid rain. BJ, WT and BV refer to the three biochar types produced using different feedstocks (Blackjack, Wedelia and Bitter vine, respectively)

3.4 Relations among macronutrients’ availability and other soil variables

The PCA summarized the response of the soil N, P, and K availability to the changes in soil parameters under the addition of lime and biochar by two main components (PCA1 and PCA2) (Fig. 6). The two components explained more than 82%, 85%, and 78% of these changes under no addition, liming and biochar, respectively. Soil available N and Al3+ distributed similarly in relation to the PCA coordinates. Both of them had a strong positive correlation (Fig. 7) and related negatively with PCA1 and positively with PCA2 under biochar or no amendments (Fig. 6A and C), while lime reversed this relation (Fig. 6B). Available N and Al3+ distributed differently from all other variables except fungal diversity under biochar addition (Fig. 6C). On the other hand, available P and K had a positive correlation (Fig. 7) and were distributed similarly in relation to the PCA coordinates under lime and biochar addition (Fig. 6). Liming and biochar changed the distribution of available P across the PCA as compared with no addition, while having no effect on available K. Available P had a positive correlation and similar distribution of pH, urease activity, and Fe2+ under no addition, meanwhile under lime treatment, both of available P and K exhibited a negative correlation and opposite distribution with both of pH and Ca2+. Biochar altered these changes and resulted in no negative correlations or opposite distributions among available P and the other soil variables (Figs. 6 and 7).

4 Discussion

4.1 Effect of acid rain without amendments

Soil nutrients have a direct response to the acidification caused by acid rain and large deposition of active nutrients, such as N and sulfur, which affect soil chemical properties and nutrients status (Hu et al. 2018; Wang et al. 2020). The simulated acid rain increased soil available N (Fig. 2), meanwhile, acid rain reduced the available P and K (Figs. 3 and 4), which is in congruence with the findings by Mosharrof et al. (2021). Acid rain affected soil CEC which contributed positively to the availability of N, P, and K, in addition to changing the soil pH, urease activity, Ca2+, Al3+, and Fe2+, which had a negative contribution to the availability of N, P, and K (Fig. 8). The notable increment in Al3+ resulted from the release of hydrogen ions under acid rain, which increased the leaching of base cations (K, Ca2+, and Fe2+) and decreased soil CEC (Liu et al. 2014). Considering the distribution of the variables in the PCA (Fig. 6A), the strong positive correlation between available N and exchangeable Al3+, and the negative correlation between Al3+ and available P and K (Fig. 8A), it can be concluded that the main reason for the decline in available P is the fixation by Al3+ hydrous oxides (Haque et al. 2021; Panhwar et al. 2020). The formed aluminum hydroxyl phosphate can form a surface complex on variscite (AlPO4∙2H2O), which is the least soluble compound in acidic soils (Muindi 2019; Wang et al. 2023). The N deposition through acid rain increases the Al3+ content due to the release of hydrogen ions during the nitrification of ammonium (NH4+) to nitrate (NO3), which explains the strong positive correlation between N and Al3+ (Che et al. 2015, Zhao and Shen 2018). Additionally, the increment in available N under acid rain was mainly caused by the higher SO2 contents and nitrogen oxides (Liu et al. 2022). Acid rain decreased the available K directly by reducing CEC and indirectly by increasing the trivalent cation (Al3+), which removes K from the exchangeable sites, agreeing well with the findings by Das and Saha (2014). Acid rain decreased soil pH below 5, which is critical for the growth of almost all microbial lineages, which was accompanied by a significant reduction in the functionality presented by urease activity (Fig. 5). Here, our findings demonstrated a sharp reduction in the alpha diversity of soil bacteria and fungi, which negatively affected the bioavailability of P and K (Wang et al. 2018). We reported no significant relation between available N and the changes in the microbial community, owing to the abundant existence of N deposited through the acid rain, which agrees with the findings by Liu et al. (2021).

Fig. 6
figure 6

Principal component analysis (PCA) among available N (AN), P (AP) and K (AK), and other soil parameters. The parameters are urease activity (UA), pH, exchangeable calcium (Ca2+), aluminum (Al3+) and iron (Fe2+), cation exchange capacity (CEC), and alpha diversity of bacteria (SB) and fungi (SF)

Fig. 7
figure 7

Pearson correlation among available N (AN), P (AP) and K (AK), and other soil parameters. The parameters are urease activity (UA), pH, exchangeable calcium (Ca2+), aluminum (Al3+) and iron (Fe2+), cation exchange capacity (CEC), and alpha diversity of bacteria (SB) and fungi (SF). *, ** and *** indicate the significance at p < 0.05, p < 0.01 and p < 0.001, respectively. The color scheme refers to the strength of correlation

Fig. 8
figure 8

The structural equation modeling (SEM) of the relation among available N (AN), P (AP) and K (AK), and other soil parameters under all the treatments. The moderators are soil parameters including urease activity (UA), pH, exchangeable calcium (Ca2+), aluminum (Al3+) and iron (Fe2+), and cation exchange capacity (CEC). Estimates of standardized regression weight (β) for each path are kept company with arrow. *, ** and *** indicate the significance at p < 0.05, p < 0.01 and p < 0.001, respectively. Dashed lines refer to negative contributions, while solid lines refer to positive contributions

4.2 Liming effect

Liming notably decreased the available N, P, and K as compared with control (Figs. 2, 3, 4) due to the great increment in soil exchangeable Ca2+ and pH accompanied by a sharp reduction in exchangeable Al3+, urease activity, CEC, and bacterial and fungal diversity (Fig. 5). The Ca2+ sourced from liming replaces the hydrogen ions from exchangeable sites and aluminum compounds, which results in Al3+ leaching. The hydrogen ions react with hydroxyl ions under higher pH and form water molecules, which reduces the temporary negative charges and decreases soil CEC (Filipek 2011). The reductions in Al3+ and Fe2+ under lime application can be linked with the precipitation of these exchangeable ions as insoluble hydroxides, which results in increasing soil pH (Qaswar et al. 2020). We recorded significant declines in the diversity of bacterial and fungal communities due to the sharp increment in soil pH to an unfavorable level for microbial growth, accompanied by significant reductions in the availability of nutrients that are needed for microbial growth (Li et al. 2021a). The exchangeable Ca2+ and soil pH had a negative contribution on soil available N, P, and K (Fig. 8). Moreover, liming changed the distribution of  availability of macronutrients in relation to soil pH and Ca2+ with the PCA coordinates, where pH and Ca2+ correlated negatively with both coordinates, while available N, P, and K correlated positively (Fig. 6B). Interestingly, liming turned the insignificant correlation between macronutrients’ availability and pH and Ca2+ into a negative correlation (Fig. 7B). These relations indicate that soil pH and exchangeable Ca2+ were the moderators of the decline in macronutrients’ availability. High pH and exchangeable Ca2+ can decrease the available N, P, and K by affecting the microbial diversity as reported by Whittinghill and Hobbie (2012), which agrees with the negative correlation among these variables under liming (Fig. 7). Calcium is a divalent cation with a small hydrated radius, therefore it is adsorbed strongly in soil and removes other cations like N-NH4 and K from the exchange sites. Furthermore, lime decreased CEC, which had a positive contribution with available N, P, and K (Fig. 8), and that may result in more nutrient loss via leaching. Path analysis showed that phosphorous is the most sensitive macronutrient to the changes in soil pH and Ca2+ content (Fig. 5), and the neutral pH (6.5–7.2) is the best level for its bioavailability; therefore, liming decreased available P significantly (Mosharrof et al. 2021). The addition of lime decreased soil available K as compared with the control, and this decline had a relative relation with the application rate. Similarly, Han et al. (2019) have reported a reduction in soil K by an average of 21–59% under lime application, which can be explained by the large content and influx of divalent cations by the added lime (Kirkman et al. 1994).

4.3 Biochar effect

Biochar addition resulted in a significant increment in available N, P, and K as compared with the control and liming treatments, which agrees with the findings by Mosharrof et al. (2021), Gavili et al. (2019) and Wang et al. (2020). This increment can be linked with maintaining neutral pH (7.0) and improving Ca2+, Fe2+, CEC, and urease activity, while decreasing Al3+ (Fig. 5), which is in consent with the results by Diatta et al. (2020) and Shetty and Prakash( 2020). Biochar had a great specific surface area (Fig. 1), which significantly increased soil CEC and base saturation (Jien and Wang 2013, Nepal et al. 2023). That is the main path by which biochar increased the soil functionality and availability of nutrients. Given the great C content in biochar and the significant N depositions under acid rain, biochar maximized the microbial diversity and bioavailability of other nutrients (P and K) under acidic conditions, agreeing well with the findings by Jien and Wang (2013) and Li et al. (2020). Moreover, biochar changed the variables’ distribution in the PCA, making them have a positive correlation with the coordinates (Fig. 6C) and reversed the negative correlation among the available macronutrients and pH, CEC, and Ca2+ under liming (Fig. 7C). These findings are linked to the neutralization of acidic soil pH under biochar addition, which is favorable for microbial community structure and the bioavailability of macronutrients, especially P (Sheng and Zhu 2018). Moreover, the balanced increments in base saturation (CEC and Ca2+) under biochar addition linked positively with the availability of macronutrients, given by less competition on the exchangeable sites. Biochar is a direct source of macronutrients (Fig. 1), as reported by Gautam et al. (2017) and Kloss et al. (2012). Biochar reversed the negative correlation between pH and bacterial diversity as compared with liming (Fig. 8), which refers to more bioavailability of macronutrients in response to the changes in pH (Shetty and Prakash 2020).

The content of soil available N was maximized under the addition of 3% BV-biochar as compared with other biochar types and rates, as it had the highest N content and the lowest carbon content and C/N ratio (Fig. 1), which is suitable for the bioavailability of nutrients. Similarly, Liu et al. (2016) and Zhang et al. (2018) stated a positive correlation between the microbial structure and functionality and the biochar feedstock, which contains more labile carbon and nutrients. BJ-biochar had the highest available P but resulted in the lowest increment in soil available P compared with other biochar types, which can be explained by the higher increment in soil pH under BJ-biochar as compared with BV-biochar. Additionally, the BJ-biochar had the highest C/N ratio, which could affect the bioavailability of phosphorous through different mechanisms such as stimulation of the organo-mineral complexes’ formation, altering the P desorption/adsorption equilibrium, and declining the P solubility (Gao and DeLuca 2018, Gao et al. 2017). A high amount of ash contained in the produced biochar improves the instant mineral nutrients discharged to the soil (Hossain et al. 2020) and decreases the K loss through leaching (Laird et al. 2010; Zhang et al. 2012). Furthermore, biochar addition promotes the exchangeable capacity of Ca2+ and K, which activates the proliferation of K solubilizing bacteria (Wang et al. 2018). BJ-biochar caused the highest increment in soil available K compared with other biochar types, as BJ-biochar contained the highest available K (Fig. 1). WT-biochar mediated the distribution of the other two types’ properties (Fig. 1); therefore, it had a positive effect on the majority of soil properties and the availability of macronutrients. These findings emphasize the effect of the feedstock utilized in biochar production on controlling the biochar’s influence on soil properties.

5 Conclusion

The present study compared the effects of new biochar produced from invasive plants and liming on soil available N, P, and K under simulated acid rain. Liming increased soil pH higher than biochar, but soil pH exceeded 8, which is not suitable for the activities of enzymes and soil microorganisms. On the other hand, biochar addition improved some soil biogeochemical properties (exchangeable Ca2+, Al3+, and Fe2+, pH, CEC, urease activity, and bacterial and fungal alpha diversity) more than liming. Therefore, biochar was effective in augmenting soil available N, P, and K through improving soil properties and maintaining a neutral pH (6.5–7). In conclusion, biochar can be used effectively instead of lime to alter the adverse effects of acid rain on soil properties. It is recommended to test the utilization of biochar with higher pH values produced from invasive plants under higher temperatures, and also the effect of these biochar types and addition rates on alkaline soils in future studies.