Using Date Palm Residues to Improve Soil Properties: The Case of Compost and Biochar

: Agricultural residues are generated during the production and processing of agricultural crops. Under modern date palm plantation practices, field operations generate huge quantities of residues, which are discarded with little valorization. The date palm agro-industry produces significant amounts of waste. The accumulation of these residues can cause ecological damage to the oasis ecosystems. There is a lack of comprehensive data on long-term research studies that aim to assess the impact of date palm waste management practices. Composting and/or pyrolysis of date palm residues showed benefits for improving soil physical and chemical properties, particularly in sandy soils. This claim holds particular significance for arid and semi-arid regions, which are characterized by low fertility and are susceptible to soil degradation, accentuated by ongoing climate change. This review summarizes the existing literature concerning the valorization of date palm residues with regards to compost and pyrolysis processes, as well as the impact of their application on soil quality. Further research is required to assess the effects of using date palm residues for better soil amendment management. Research should focus on composting and biochar technologies for date palm residues and their application in arid and semi-arid regions to combat soil erosion and degradation. Increasing the beneficial uses of date palm residues could lead to sustainable and economic growth in dry areas.


Introduction 1.State of the Art of Crop Residue Management
Crop residue management is a significant concern for stakeholders, particularly in the European Union, where fruit tree cultivation covers 11,301,345 hectares [1].Woody residues from tree crops are major sources of biomass, with annual pruning yields ranging between 1 and 5 tons of fresh material/ha [1,2].Mediterranean countries generate substantial quantities of pruning residues annually, with olive orchards contributing 1. 31  dry biomass [3], almond orchards contributing 1.34 t/ha [4], apple orchards contributing up to 4.14 t/ha [5], and vineyards contributing 4.2 t/ha [6].Despite recommendations from the European Commission advocating for increased use of pruning residues as biomass fuel or composting, these applications remain largely marginal due to technical limitations, legislative issues, and the reuse chain's low remuneration.As a result, most pruning residues are still outside the bioenergy supply chain [7].Organic matter addition is an important soil management strategy for increasing the soil's carbon pool.Most tree prunings generated are either burned in open-air fires or shredded as a soil amendment (e.g., mulch).While the former entails no net environmental benefits, the latter can improve soil conditions, but it can also be a vector for crop diseases.Consequently, some regions prohibit or strongly discourage the use of biomass as fertilizer, while others promote it, often in conjunction with pesticides [8].According to the EUROPRUNING project [2], farmers often incorporate prunings into the soil not because it is the most effective management strategy, but rather because it is the most straightforward form of waste management.The primary factor determining whether burning or soil amendment is predominant is whether there is a regional or national ban on burning prunings in open-air fires.Furthermore, the integration of prunings into the soil did not have a significant impact on soil organic carbon (SOC) content, but their effects were more pronounced in herbicide-treated, grass-free rows.Grass cover in interrows can provide an alternative carbon source for soil microorganisms, increasing microbial biomass carbon and microbial diversity.Orchards with grass cover showed higher diversity compared to those without [9].

Challenges for Maintaining Sustainable Agriculture in Arid and Semi-Arid Areas
According to Garcia-Franco et al. (2021) [10], over 47% of the Earth's land surface is comprised of arid and semi-arid regions, which are characterized by a weak aridity index (AI = precipitation/potential evapo-transpiration).Despite these challenging conditions, drylands are responsible for producing around 44% of the world's crops [11].About 70% of these regions are located in Africa and Asia [12].Arid areas in North Africa are mostly associated with sandy soils (Arenosols, Psamments), which are weakly differentiated, often of aeolian origin, and with an average SOC content of less than 3 g kg −1 in topsoil (≤30 cm) [13].Cultivated soils are more and more affected by the accumulation of watersoluble salts (NaCl, Na 2 SO 4 , etc.), which increase osmotic pressure, diminish water availability, and inhibit plant growth at high concentrations [14].Calcareous and/or gypsiferous soils, often found in arid and semi-arid regions, have low nutrient levels, which can limit crops' ability to absorb essential nutrients like phosphorus and nitrogen [15,16].European Mediterranean soils are more diverse, and their classification may vary from Regosols or Leptosols to Cambisols and Fluvisols [17][18][19].
The cultivation of palm trees is better suited for arid and semi-arid regions worldwide [20].The palm tree canopy allows for the plantation of underneath crops (e.g., barley, alfalfa, figs, etc.), which are primarily used to feed livestock [21].Sheep, cattle, or goats produce a large amount of manure each year, traditionally used by farmers to fertilize their crops.But the water scarcity due to the succession of drought years forced oasian farmers to reduce their livestock, leading to low availability of local manure and higher costs if it was available [21].El Janati et al. (2021) [21] reported that the large areas and high densities of monocropped date palm trees produce a large quantity of dry palms (2.1 t ha −1 at 138 trees ha −1 ).Recycling these organic waste products is a potential solution to provide organic inputs and address the current manure shortage.El Janati et al. (2023) [22] observed that utilizing date palm compost produced on farms could effectively address the lack of organic inputs and enhance the organic date production chain.In the deserts of the Arabian Peninsula and North Africa, oasian agroecosystems have long been the only viable crop production system.But important changes took place in the Saharan oases in the second half of the 20th century, accompanied by social, economic, agricultural, and environmental transformations [23].Indeed, the emergence of new technological means such as mechanized hydraulics has allowed rapid agricultural expansion since the 1970s.The Maghreb countries have provided political and economic support for the export variety 'Deglet Nour', along with subsidies for the establishment of new areas and the expansion of existing cultivated areas [24].For instance, in Tunisia, so-called "modern" oases or palm groves, or monocultures of date palms for commercial purposes, represent about 73% of the oasis area [25].Today, agriculture in arid areas is facing new and complex challenges such as water scarcity, salinization of groundwater and soils, aeolian erosion, ravages caused by diseases, and the exodus of populations that increase the vulnerability of these environments [26][27][28].The climate change underway in the Maghreb is likely to have a significant impact on oasis environments [12].
Agricultural practices on modern date palm plantations generate large quantities of by-products from seasonal pruning, such as empty fruit bunches, seeds, and stem barks.However, the use of these by-products in North African countries is limited [29], with only a small proportion effectively recovered.These by-products are not widely recognized for their value as bioresources.Currently, there is no efficient and comprehensive system established in the EU for managing pruning waste.Local authorities frequently manage these residues at multiple collection locations, primarily composting them or sending them to landfills [30].The most common form of biological treatment for reusing wood pruning in agriculture is composting, followed by mechanical fractionation to achieve a uniform green material.This material can then be used as a soil amendment or for other approved purposes, such as landfill cover and revegetation [31].Currently, waste composting practices in arid and semi-arid regions are rather basic.The process involves collecting and piling the residues in permitted composting plants without any specialized treatments or planned final applications [31].Additionally, the application of pyrolyzed organic carbon to soils has been assessed worldwide to play a vital role in improving the physical-chemical characteristics of the soil [16].Date palm biochar can therefore be regarded as a useful and valuable organic amendment.However, the effects of biochar application on soil properties in an arid region are not well understood [29].
Hence, the adoption of sustainable agriculture in arid and semi-arid regions faces significant obstacles, including, but not limited to, water shortages, soil salinization, and restricted availability of organic resources.Inadequate facilities and a lack of understanding of their impact on soil quality hinder the efficient management of by-products and the implementation of novel methods like composting and pyrolysis, which are crucial.As a result, the goal of this paper is to give an in-depth look at the latest research on finding useful uses for date palm waste, focusing on the composting and pyrolysis methods as well as the possible impacts on soil quality when they are used.

Geographic Distribution of the Cultivated Date Palm
Date palm [Phoenix dactylifera L.] is a monocotyledon dioecious plant species related to the Arecaceae family, and it has been cultivated for thousands of years [32].Indeed, Tengberg (2012) [32] reported that the origin of oasis agriculture likely dates to prehistoric times around the Persian Gulf, where the first evidence of date palm cultivation dates back to about the 5th millennium B.C. Date palm spread to North Africa, the Arabian Peninsula, South Asia, southern Africa, America, and Australia, wherever suitable climatic conditions enabled commercial fruit production [33].Although Mlih et al. (2015) [34] suggest that the date palm originated in North Africa or the Middle East, there is a scarcity of local reports on the origin and ancient history of oasis agrosystems in the MENA region (Middle Eastern and North African region), known as one of the most water-scarce regions globally.
According to El-Janati et al. (2023) [22], approximately 120 million date palm trees exist in the world.The date palm is more suitable for cultivation in arid and semi-arid regions of the globe [20] due to its resilience and adaptability to harsh environmental conditions, including drought, salinity, high temperature, and poor soil conditions.Date palms form the canopy of most of North Africa's oasis and allow herbaceous crops to grow [35].It is considered one of the most suitable crops for production in the MENA area, where these prevailing climatic conditions exist [36,37].These locations are particularly vulnerable to climate change impacts, which may worsen the effects of environmental and soil conditions on date palm production and threaten its long-term sustainability [38,39].
The palm tree is widely marketed as a high-value fruit crop due to its importance in nutritional content and serves as an important food supply in arid regions [34].Fruit is an excellent source of carbohydrates, proteins, minerals, dietary fibers, and vitamins [40][41][42].Date fruit is also a source of potassium, calcium, magnesium, iron, copper, zinc, and selenium [42,43].Date palm cultivation in the Mediterranean basin plays an important economic role.Efficient management practices, such as the use of modern irrigation systems, the selection of cultivars best suited to local environmental conditions, and the enhancement of soil water and nutrient retention, help to sustain the cultivation and productivity of date palms [44].Water scarcity, very high temperatures, salinity, soil deterioration, disease (e.g., bayoud), and pests will be the greatest future obstacles for date palm cultivation [45,46].

Soil and Climatic Conditions
The date palm shows remarkable adaptability and can thrive in adverse natural conditions.It can thrive in harsh environmental conditions and produce fruit with minimal agricultural inputs and management [47][48][49].Date palm trees play a critical role in achieving environmental balance.They grow in harsh climatic environments, even in highly saline, sandy soils [50].Due to their large size, date palms absorb carbon dioxide to a greater extent than other trees.Sharifa et al. (2010) [50] suggested that, since one date palm tree would reduce CO 2 by 200 kg annually [51], growing a million trees would absorb 200,000 tons of CO 2 as well as the food value.As a result, the date palm becomes a crucial species against global warming, which is primarily due to greenhouse gas emissions (GHGs).
Date palm cultivation primarily occurs in dry land soils with low plant productivity and minimal organic matter inputs [48].Date palm can bear air temperatures of up to 50 • C for short periods and low air humidity for fruiting if the water is available in the subsoil [52].However, due to a lack of precipitation, the trees are currently exposed to excessive salts in the soil.In addition to salinity, drought, temperature, and soil-related factors (texture, pH, organic matter, and nutrient content), disease and pest attacks are among the most significant crop production constraints in most arid and semi-arid regions where date palm-producing countries are located [53][54][55].Because date palm cultivation occurs in arid and semi-arid regions, the soil is often characterized by an alkaline pH and is coarse-textured.Date palms are moderately tolerant to alkaline soils and need adequate aeration and drainage [47].Alkaline and calcareous soils influence date palm growth, but factors like nutrient availability and fertilizer efficiency, particularly phosphorus, can also influence its development, according to Smith et al. (2013) [56].Alkaline soils limit the availability of phosphorus, the most pH-sensitive macronutrient, due to their high capacity for Ca 2+ retention and precipitation.In arid regions, Evans et al. (2009) [57] reported that producing compost from organic waste products enriched with either animal manure or rock phosphate can increase the availability of P to plants.Date palms require an annual supply of basic cations in proper balance to support their growth [58].Root uptake of K + , Ca 2+ , and Mg 2+ decreases at soil pH levels above 8.0 due to limited nutrient availability and competition from Na + [59,60].Therefore, increased K and Mg fertilizer doses are required [44].
With regards to soil texture, date palm trees can be grown in a wide range of soil textural classes, but ideal soil texture conditions are deep sandy and loamy for better root development and drainage [61].These soils have a low organic matter and nutrient content [62], and because of their sandy texture, their potential to sequester carbon is limited [63], while their potential water-holding capacity is also low.For this reason, large amounts of irrigation water resources are wasted due to poor soil properties [64].However, when proper drainage and aeration practices are implemented and adequate soil moisture is maintained, sandy soils are ideal for date palm plantations [59,60].
The date palm tree has evolved through natural selection to be a drought-and salttolerant plant [59].Date palms can tolerate soil salt concentrations up to 4.0 dS m −1 [65] and, in many cases, up to 12 dS m −1 [66].However, an electrical conductivity of 17.9 dS m −1 in soil and 12.0 dS m −1 in water can reduce yields by up to 50%.Fruit production usually stops at 15.6 dS m −1 [67].Tolerance to salt depends on the genetic potential of the date palm variety, climate, soil drainage, and texture [68].Cultivating salt-tolerant cultivars is an appropriate strategy to address growing salinity issues.At the seedling level, studies show that local cultivars can grow in soils with an electrical conductivity of 25 dS m −1 [69,70].

Date Palm Residues
Under modern date palm plantation practices, field operations produce large quantities of empty fruit bunches, seeds, stem barks, cull fruits, leaves, and fronds (Figure 1).These materials are obtained by seasonal pruning of palm trees, which is an important agricultural practice, and discarded with no valorization.Morvan et al. (2022) [29] observed that the North African region effectively recovers only a small proportion of date palm cultivation by-products.Notably, these by-products, such as palm branches, are mostly employed for purposes such as stabilizing sand dunes, constructing fences in an oasis, or providing shade.The recognition and evaluation of their value as bioresources, particularly their potential impact on soil fertility, have received limited attention to date.El-Janati et al. (2023) [22] report that the world produces approximately 1.6 million tons of date palm residues annually.Farmers who primarily attempt to burn or transport the vast quantities of palm waste produced each harvest season face a significant cost.Every year, agricultural land accumulates large amounts of leftovers (fronds and leaves) from harvested date palms [49].Each date palm tree produces about 20 and 40 kg of dry organic waste annually in Saudi Arabia [71] and Iran [72], respectively, while date pits, by-products of date fruit processing industries, account for almost 10 percent of date fruits [73,74].In particular, the management of date palm trees generates as much as 16-20 kg of dry leaves per tree per year [74,75].Similarly, El Janati et al. (2021) [21] observed that oasian agroecosystems generate an estimated 1.5 to 2.4 tons of date palm waste per hectare per year.In fact, date palm leaves represent the primary residues produced on an annual basis by date palm trees [49].Additionally, the date palm agro-industry generates significant amounts of waste, primarily fallen date fruits, date fruit seeds [pits], and date press cakes.Date fruit contains between 11 and 18% date seeds by weight [76,77].

Sustainable Utilization of Organic Amendments Based on Date Palm Biomass
Date palm trees provide significant amounts of agricultural residue that can be utilized for various purposes, such as feeding livestock and composting [86].Date fruit contains cellulose, hemicellulose, and lignin, as well as other solids with high volatile content and low moisture content, making it a valuable biomass resource in regions that grow dates [84].The low moisture content of date palm waste makes it well suited to thermo-Figure 1.A date palm tree with its different components (Tahir et al., 2020 [74]).
Farmers commonly leave date palm residues in the field as mulch [33].However, most farmers discard these materials [78], burn them [22], or bury them in landfills [79] Soil Syst.2024, 8, 69 6 of 32 without realizing their potential value.Large-scale production of these wastes [80] not only contributes to a significant loss of raw materials [81], but also poses serious environmental problems.Bashah (1996) [82] noted that leaving raw materials in date palm waste for a long time is likely to be highly flammable.Furthermore, burning them directly in open fields can pose a significant environmental and health risk due to the release of toxic gases [83,84].Moreover, the accumulation of date palm residues in the field can have harmful effects, such as the proliferation of insects and parasites on date palm trees [85].

Sustainable Utilization of Organic Amendments Based on Date Palm Biomass
Date palm trees provide significant amounts of agricultural residue that can be utilized for various purposes, such as feeding livestock and composting [86].Date fruit contains cellulose, hemicellulose, and lignin, as well as other solids with high volatile content and low moisture content, making it a valuable biomass resource in regions that grow dates [84].The low moisture content of date palm waste makes it well suited to thermochemical conversion technologies like combustion, gasification, and pyrolysis [87].Pyrolysis is a commonly employed thermochemical technology for transforming biomass into liquid and solid forms [88].Date palm residues (leaves, empty fruit bunches, and petioles) have high ash, high oxygen, low volatiles, and an average heat value when compared to other forms of biomass and energy crops.The outcome of fast pyrolysis in a bubbling fluidized bed reactor at 525 • C was found to be 38.65%biooil (including 10.39% reaction water), 37.23% biochar, and 24.02% non-condensable gas [89].Furthermore, the exceptional organic composition of date palm residues-including date palm leaves, which contain over 80% organic matter [22]-enables them to be used as a substitute for chemical fertilizers in date palm plantations during compost production.For the sustainable use of date palm biomass, numerous physico-chemical, thermal, and biochemical technologies are available.Thus, the abundance of date palm trees in the MENA and Mediterranean regions can enhance the development of the compost and biochar sectors in the region.Below, the main valorization technologies-pyrolysis and composting-and the effects of final products on soil quality are reviewed.Various organic materials, such as agricultural residues, forest residues, algal biomass, manures, activated sludge, energy crops, and polymers, serve as suitable ingredients for biochar production [90,91].Carbon-rich materials undergo thermal transformation to produce biochar, a stable solid byproduct.Biochars vary in their physical, chemical, and mechanical properties based on the source material and pyrolysis conditions.Global efforts are increasingly focusing on developing technologies to convert agricultural waste into biochar, driven by escalating energy needs and mounting concerns about greenhouse gas emissions and soil degradation [92,93].Biochar, bio-oil, and gases like methane, hydrogen, carbon monoxide, and carbon dioxide are the byproducts of biomass pyrolysis.Pyrolysis is the thermal decomposition of biomass occurring in the absence of oxygen at temperatures usually ranging from 300 to 700 • C in order to produce liquid biofuel [bio-oil], biochar, and renewable syngas [89].
The biochar production process consists of three distinct stages: pre-pyrolysis, mainpyrolysis, and carbonaceous soil product formation [94,95].The first stage involves the loss of moisture and some volatiles (<150 • C).Hemicelluloses and cellulose devolatilize and decompose rapidly in the second stage (200-500 • C) [96].Degradation of lignin and other organic matter with stronger chemical bonds occurs in the final stage (above 500 • C) [97].The biochar decomposes very slowly in the third step, forming a residue solid that is rich in carbon.When secondary charring occurs, the char becomes less reactive.Pyrolysis will produce mostly biochar at low temperatures (less than 450 • C when the heating rate is very slow) and mostly gases at high temperatures (greater than 800 • C) with rapid heating rates, depending on the thermal environment and the final temperature [98].
Nevertheless, the process of converting several tons of recently harvested plant biomass into biochar for practical use requires a substantial quantity of heat energy, potentially leading to cost limitations.In recent years, researchers have focused significantly on integrating solar energy into biomass pyrolysis.Solar energy offers a sustainable and renewable alternative for pyrolysis, providing it with a comparative advantage over thermal energy use [99,100].The arid regions' solar characteristics make them ideal for solar concentration [101].In a pyrolysis reactor, a solar concentrator with an area of 10 m 2 , operating at a conversion efficiency of 50%, can harness solar heating energy of up to 92.4 MJ.The amount of energy provided is sufficient to pyrolize over 1 kg of dry biomass to a temperature of 500 • C in around 5 min [102].A concentrated solar energy system is developed and simulated using SuperPro Designer v8.5 to convert date palm waste into biochar through pyrolysis [103].Economic analysis demonstrates that this process is more economically viable compared to the traditional process.Environmental impact assessment reveals that concentrated solar energy-based pyrolysis emits only 38% of the CO 2 emissions produced by conventional pyrolysis.This indicates that concentrated solar energy pyrolysis is more ecologically sustainable.Caputo and Mašek (2021) [104] developed a system that produces biochar and electricity for soil amendment and energy access.The system is capable of pyrolyzing agricultural waste streams, producing at least 5 kg of biochar per unit per day.The system's feasibility depends on the actual yield and composition.According to the research by Ndukwu et al. (2020) [100], to improve the efficiency of solar-driven biomass pyrolysis, it is important to think about a number of things, such as the type of feedstock used, the choice of concentrating optics, the thermodynamics of the process, and the yields of the end product.Furthermore, to ensure optimal performance, it is critical to carefully design the installation orientation of solar-thermal systems and the reactor itself.Therefore, while date palm wastes hold great potential for sustainable biomass valorization, addressing technological constraints, such as energy requirements, through innovative solutions like solar-driven pyrolysis is crucial for maximizing their utilization and minimizing environmental impact.

Factors Influencing the Characteristics of Biochar
Biochar appears to be a new potential low-cost and effective material that has a wide range of characteristics, transfusing unique properties.These properties include high waterholding capacity, large specific surface area, enriched surface functional groups, cation exchange capacity (CEC), and a porous structure similar to that of activated carbons [105].Biochar also has a high degree of chemical and microbial stability due to its molecular structure.The porous structure can protect beneficial soil microorganisms, such as mycorrhizae and bacteria, as well as influence the binding of important nutritive anions and cations.The production factors of biochars correlate with the above properties.Furthermore, the amounts of essential mineral elements in biochar are directly correlated with the concentrations of their components in the original feedstock [106][107][108].However, the long-term effects of biochar, both the benefits and the disadvantages, are still little studied to date.
Various factors, such as conversion technologies, gas type, catalyst use, heating temperature, and feedstock type, influence the production and properties of biochar [109].The conversion processes include pyrolysis, gasification, torrefaction, and hydrothermal carbonization.Pyrolysis entails heating biomass in an oxygen-free environment, gasification employs heat under limited oxygen conditions, and torrefaction involves heating (200-300 • C) in an inert atmosphere.Hydrothermal carbonization uses high pressure (2-6 MPa) at lower temperatures [110].Microwave pyrolysis is a new method that offers rapid, uniform, and selective heating for biochar production [109].
The different thermal conversion technologies and their products are described in Figure 2.
tion employs heat under limited oxygen conditions, and torrefaction involves heating (200-300 °C) in an inert atmosphere.Hydrothermal carbonization uses high pressure (2-6 MPa) at lower temperatures [110].Microwave pyrolysis is a new method that offers rapid, uniform, and selective heating for biochar production [109].
The different thermal conversion technologies and their products are described in Figure 2. Biochar composition varies depending on the source of biomass and the treatment method.Thermal carbonization (TC) biochars are more stable and have a higher carbon sequestration potential than hydrochar made by hydrothermal carbonization (HTC) [111][112][113][114][115][116].Pyrolysis biochar is more stable and has a higher C sequestration potential [114].However, after field application of corn silage, HTC char quickly degrades and increases GHG emissions.such as CH4 and CO2 [113,117,118].Hydrochar application may enhance greenhouse gas emissions due to increased microbial activity [119].Additionally, slowpyrolysis char, produced at temperatures below 500 °C, has a consistent impact on GHG emissions and is more long-lasting in soil [118].
Many studies have considered temperature to be a factor influencing biochar properties.According to Pariyar et al. (2020) [120], both the temperatures used in the pyrolysis process and the types of feedstocks had a significant impact on the properties of biochar.The study suggested that biochar produced at high temperatures (specifically 550 °C and 650 °C) exhibits greater efficacy in terms of carbon sequestration.Sun et al. (2014) [121] also demonstrated that pyrolysis temperature and feedstock type have an impact on the production rate, thermal stability, carbon content, and elemental composition of biochar.Biochar envelope density and porosity vary primarily with biomass feedstock [122].Researchers have observed that temperature enhancement positively impacts the adsorption properties, primarily because it simultaneously increases the specific surface area and pore volume [123,124].At higher pyrolysis temperatures, the surface area and porosity increase, along with the concentration of nutrients on the surface of the adsorbent, including P, K, Ca, and Mg, which in turn, would allow ion exchange with metals and result in higher adsorption capacities [125].
The literature lacks information on the production and characterization of biochar derived from date palm waste across a broad spectrum of pyrolysis temperatures [79].The majority of biochar production studies used a muffle furnace contained inside a sealed steel container to regulate the charring temperature within the range of 300 to 800 Biochar composition varies depending on the source of biomass and the treatment method.Thermal carbonization (TC) biochars are more stable and have a higher carbon sequestration potential than hydrochar made by hydrothermal carbonization (HTC) [111][112][113][114][115][116].Pyrolysis biochar is more stable and has a higher C sequestration potential [114].However, after field application of corn silage, HTC char quickly degrades and increases GHG emissions.such as CH 4 and CO 2 [113,117,118].Hydrochar application may enhance greenhouse gas emissions due to increased microbial activity [119].Additionally, slow-pyrolysis char, produced at temperatures below 500 • C, has a consistent impact on GHG emissions and is more long-lasting in soil [118].
Many studies have considered temperature to be a factor influencing biochar properties.According to Pariyar et al. (2020) [120], both the temperatures used in the pyrolysis process and the types of feedstocks had a significant impact on the properties of biochar.The study suggested that biochar produced at high temperatures (specifically 550 • C and 650 • C) exhibits greater efficacy in terms of carbon sequestration.Sun et al. (2014) [121] also demonstrated that pyrolysis temperature and feedstock type have an impact on the production rate, thermal stability, carbon content, and elemental composition of biochar.Biochar envelope density and porosity vary primarily with biomass feedstock [122].Researchers have observed that temperature enhancement positively impacts the adsorption properties, primarily because it simultaneously increases the specific surface area and pore volume [123,124].At higher pyrolysis temperatures, the surface area and porosity increase, along with the concentration of nutrients on the surface of the adsorbent, including P, K, Ca, and Mg, which in turn, would allow ion exchange with metals and result in higher adsorption capacities [125].
The literature lacks information on the production and characterization of biochar derived from date palm waste across a broad spectrum of pyrolysis temperatures [79].The majority of biochar production studies used a muffle furnace contained inside a sealed steel container to regulate the charring temperature within the range of 300 to 800 • C. With an increase in pyrolysis temperature, there was a corresponding drop in moisture, elemental composition, and volatile content.Conversely, the surface basicity, ash, pH value, basic cations, and carbon content increased with higher temperatures.Studies concluded that biochar, with the best carbon sequestration potential, was found at a temperature >500 • C. Munir et al. (2019) [126] subjected the waste biomass derived from the rachis of date palm trees to pre-treatment using silica or zeolite minerals through the processes of ball milling and sonication.Subsequently, the pre-treated biomass was subjected to pyrolysis at a temperature of 600 • C. Compositing biochars with silica showed the highest potential for carbon sequestration capability (ranging from 64.2% to 95.6%) compared to other biochar types.Changes in the arrangement of structures within the silica-biochar complex help Soil Syst.2024, 8, 69 9 of 32 explain why biochars mixed with silica are more resistant to change and better at storing carbon.The authors' findings suggest that incorporating silica-combined biochars into soil as a soil supplement can effectively prolong the sequestration of soil organic carbon.On the other hand, biochar produced at lower temperatures (<500 • C) does contain more functional groups and has lower pH values, which makes it more suitable for soil with poor fertility and a high pH [74,79].According to Sizirici et al. (2021) [127], there was a noticeable rise in the pore volume, surface area, pH, and total carbon content of date palm leaf and frond biochar as the pyrolysis temperature increased.Conversely, the biochar's functional groups, hydrogen, nitrogen, and oxygen content decreased in comparison to the original feedstock.
Date palm residue is a low-cost adsorbent and a sustainable waste management solution due to its abundance in many countries.A 30-day experiment was performed where date palm feedstock and biochar were added to mined soil that was contaminated with heavy metals [128].The production of biochars was carried out at various charring temperatures (300, 500, and 700 • C) for a duration of 4 h, with a rate of 5 • C per minute.The resulting by-products were then introduced into the soil at different quantities (0, 5, 15, and 30 g kg −1 ) in order to investigate their immediate impacts on soil respiration, soil microbial biomass carbon (MBC), soil soluble organic carbon, and mobile heavy metal fractions.It was concluded that low-temperature biochar can be utilized as a soil amendment to decrease the movement of heavy metals in mining-contaminated soil as well as reduce the release of CO2-C from the soil.Biochar has anionic organic groups that can bind to heavy metals and remove them through surface complexation, ion exchange reactions, and electrostatic attraction [129][130][131].
Sizirici et al. ( 2021) [127] used leaf and frond date palm residue as feedstock to derive biochar.The effects of pH, feedstock type, and pyrolysis temperature at 400, 500, and 600 • C on the capacity of date palm waste-derived biochar to remove copper, iron, nickel, and zinc in single and mixed metal solutions were investigated.At different pyrolysis temperatures, biochar obtained from different feedstocks did not show any statistically significant improvements in removing single or mixed metals from aqueous solutions.Biochar derived from date palm waste at low pyrolysis temperatures showed similar metal removal effectiveness as biochar produced at high temperatures.Therefore, a lower pyrolysis temperature provides increased efficiency in heavy metal removal while consuming less energy.The authors concluded that utilizing date palm waste materials to produce biochar is a sustainable solution in terms of cost-effectiveness and impact on global warming potential.
The provided information clearly indicates that date palm residue-produced biochar has the potential to be a cost-effective and efficient material with several beneficial properties, such as improving soil health and sequestering carbon.Temperature conditions, feedstock type, and treatment methods greatly influence the characteristics and effectiveness of biochar in carbon sequestration and heavy metal removal.However, a comprehensive investigation of the long-term impacts of biochar, including both advantages and drawbacks, remains incomplete.Furthermore, while high-temperature biochar has a higher capacity for carbon sequestration, lower-temperature biochar might be more suitable for specific soil conditions and heavy metal removal.This emphasizes the need for tailored strategies in the production and application of biochar.

Effects of Biochar Application on Soil Properties
Badawi (2019) [132] observed that using biochar produced from date palm fronds as a soil amendment enhances soil fertility, conserves moisture, reduces toxic gas emissions, and contributes to global warming mitigation efforts.Farmers use biochar to enhance soil fertility because it is a highly stable organic compound.Date palm biochar can be considered a long-term agriculture adaptation strategy because of its unique mitigation potential and functions to enhance soil health and soil carbon sequestration [84].Compared to other crop residues, date palm ones are characterized by high caloric values, high volatile content, and a distinct capacity as an organic fertilizer.Alothman et al. (2021) [133] stated that the major constituents of date palm residue are cellulose, hemicellulose, and lignin, apart from other solids with high volatile content and low levels of moistness, which make them an excellent resource for biomass.Therefore, we can regard date palm biomass and the biochar products derived from it as useful and valuable organic amendments [134][135][136].Biochar incorporation into soils can be considered an agronomic or environmental management method [123], and it offers numerous environmental and financial benefits [137].Biochar application in soil achieves not only soil remediation from organic and inorganic pollutants [90,128], but it could also improve both physical and chemical properties, improve carbon sequestration to soil, enhance microbial activity and rhizobia nodulation, and consequently increase soil health, crop yield, and soil productivity [138][139][140][141].

Effects on Water Retention and Soil Fertility
The application of biochar derived from date palm residues to soil appears to present a viable approach for enhancing the water retention traits of coarse-textured soils and facilitating the optimization of water resource utilization within irrigated areas [142].According to Alotaibi and Jeff (2019) [143], biochar can enhance the soil's water retention capacity, primarily due to its high total porosity.Biochar addition increases the available water in the soil by 4 to 130% [144].These benefits are more pronounced in soils that are infertile and have a coarse texture [145,146].Several studies [144,[147][148][149][150][151] have reported improvements in soil porosity, decreased soil bulk density, and increased maximum water holding capacity [WHC] in sandy soils.Le Guyader et al. (2024) [142] concluded that the use of organic additions such as compost and biochar made from date palm residues increased soil water retention in proportion to the sand content.The loamy sandy soil treated with biochar increased its available water capacity (AWC) by +80% compared to the untreated soil.In this way, biochar would enhance the resilience of agricultural systems to drought, especially in coarse-textured soils in arid and semi-arid areas where there is a significant and growing need for water to irrigate crops.The total porosity, surface area, and surface properties of biochar determine its effects on hydrological properties.Grass and straw biochars increase WHC to a greater extent than woody biochars [54,152].Biochars produced at low temperatures (<500 • C) contain more labile carbon and aliphatic compounds [153,154].Zornoza et al. (2016) [154] indicated that aliphatic compounds confer hydrophobic properties to biochars, which reduces pore filling by water, but the highest treatment temperatures (HTTs) around 500 to 700 • C allow the degradation of aliphatic compounds on the biochar surface.Campos et al. (2020) [155] observed that residence time primarily influenced Aryl-C, Alkyl-C, and hydrophobicity.Therefore, to obtain biochar with high potential for soil WHC improvement, the selection of appropriate feedstock sources and processing are necessary.For example, Khalifa and Yousef (2015) [156] produced biochar from fronds of date palm by carbonization at 400 • C for 30 min in a muffle furnace.The application of biochar in sandy soil (0, 10, 50, and 100 g kg −1 soil) resulted in a notable enhancement in soil water retention by up to 20%.They also noticed an improvement in available water capacity (AWC) of 32, 72, and 109%, respectively.Additionally, a slight increase in CEC was observed, with values rising from 2.5 to 6.7 meq 100 g −1 .Furthermore, the use of biochar led to a reduction in the soil's sodium adsorption ratio (SAR), bringing it below the threshold for sodic conditions (<13).
It has to be noted that the authors suggested that the effects are dose-dependent and that applying large quantities of biochar is necessary to achieve significant improvements in sandy soil characteristics.Indeed, Karbout et al. (2019) [157] investigated the use of various quantities of biochar (untreated soil, 5 t ha −1 , 10 t ha −1 , 15 t ha −1 , and 20 t ha −1 ) on sandy soil located in southern Tunisia.Biochar is produced by subjecting date palm tree residues to pyrolysis in oxygen-limited conditions at a temperature of around 500 • C. The findings suggest a positive correlation between higher rates of biochar application and increased soil nutrient status.As the rate of biochar increases, so does the amount of water in the soil, which reaches a maximum of 20 t ha −1 .This is because the typically employed application rate of 10 g kg −1 , as observed in earlier studies [138,144], does not provide significant benefits.
On the other hand, Wang et al. (2019) [158] stated that biochar production inevitably produces polyaromatic hydrocarbons [PAHs].The results showed that biochar amendments in soils may threaten food safety and human health, but biochar-borne PAHs in soils and food crops represent negligible cancer risks.To reduce cancer risks, avoid applying biochars with high PAH content at higher rates (e.g., ≥20 t/ha).The feedstock type and pyrolysis temperature significantly influence the composition of PAHs in biochar, as concluded by Alharbi et al. (2023) [159].These characteristics must be considered while producing and using biochar.Additional research is advised to determine the relationships between the temperature at which pyrolysis occurs and the specific kinds of raw materials used, as well as the formation of PAHs.It is recommended to monitor the levels of PAHs before applying biochar to the soil.
Several studies have explored the effects of biochar application on soil nutrient availability.Zhang et al. (2017) [160] applied twelve biochars from various sources, such as walnut shells, corn cobs, corn straws, and rice straws, at different pyrolyzed temperatures in a pot experiment.They showed that biochars generally decreased the available N, increased the available P and K, and also increased the ryegrass biomass.According to Mihoub et al. (2022) [161], biochar modified with citric acid and inorganic phosphorus in calcareous sandy soil has the potential to function as a slow-release fertilizer.This methodology presents numerous benefits, including its cost-effectiveness and its environmentally sustainable characteristics, rendering it a feasible alternative to conventional mineral fertilization techniques.Glaser and Lehr (2019) [162] conducted a meta-analysis and found availability of P increased on average by a factor of 5.1 and 2.4 in acidic and neutral soils, respectively, but it had no effect in alkaline soils or at biochar application rates below 10 t ha −1 or with biochars produced at HTT < 600 • C.
The application of biochar influences soil nitrogen dynamics and greenhouse gas emissions, affecting ammonia and nitrate levels [128,[163][164][165].However, its effects on soil ammonium content are inconsistent [166,167], and its impact on net nitrification rates varies [168,169].Biochar application may have no effect on gross or net nitrification rates in agricultural soils [169,170], which can be explained by the fact that agricultural ecosystems are already characterized by high nitrification rates [171].Studies also report reduced N 2 O emissions from biochar-amended soils [166,172].While biochar has been shown to decrease CH 4 emissions [173], its ability to reduce greenhouse gases is variable due to factors such as biochar type and soil conditions [173].Biochar's nitrate sorption capacity depends on factors like pyrolysis temperature and surface area, with some biochars showing higher sorption rates [174,175].However, the capacity of biochar for nutrient retention and leaching prevention varies depending on the specific type of biochar and soil conditions [176].Meta-analyses suggest that biochar may not always affect crop yields, especially in low-nutrient or nutrient-rich soils [177].Techniques like biochar enrichment of fertilizers or co-composting with organic materials show promise for improving nutrient efficiency [178][179][180][181][182].

Effects on Soil pH
Biochar, with its alkaline properties, has been shown to increase soil pH, reducing the hazards caused by soil acidification and naturally acidic soils [183][184][185].A meta-analysis of 371 studies [141] found that the addition of biochar to soils resulted in a tendency for soil pH to rise, reducing its acidity.The biochar surface contains functional groups (e.g., -COO-, and O-,) that react with metals and H + from the soil solution, partially alleviating soil acidity.Furthermore, biochar has a remarkable ability to adsorb and immobilize Al 3+ ions [186].Its alkalinity may react with the toxic Al ions, resulting in AlOH 3 , potentially neutralizing their detrimental impact.The enhancement in pH was dependent on the pyrolysis temperature, with the acidified soil improvement effects of biochar produced at elevated temperatures being more pronounced than those of biochar prepared at reduced temperatures [187,188].Conversely, it is anticipated that biochar will have a little effect on the pH of neutral to alkaline soil [145,[189][190][191] except for feedstock (soil pH = 8.07) and BC300 (carbonization at 300 • C, soil pH = 8.14) treatments that showed a minor but significant decrease in soil pH compared to the control (soil pH = 8.25) [143].Alotaibi and Jeff (2019) [143] postulated that chemical oxidation and microbial decomposition of BC within the soil are responsible for the reduction in soil pH observed in alkaline soils after the application of BC.Additionally, an increase in soil electrical conductivity was recorded.The presence of soluble salts in biochar is the cause, as biochar produced in arid regions contains a high salt content due to soil salinity, irrigation water, and biomass type [192].Further monitoring is necessary for frequent application to arid soils [193].

Effects on Carbon Sequestration
Studies have found that integrating date palm biochar into the soil contributes to soil carbon sequestration [124,141], mitigating climate change impacts [120,194].When considering the incorporation of biochar into the soil, it has the potential to reduce greenhouse gas emissions, sequester carbon, and improve soil quality [195][196][197][198].However, it should be noted that soil amendments rich in organic decomposable materials may increase the efflux of carbon dioxide from the soil.The EuroChar project results [112] confirmed that biochar produced through a commercial gasification method maintains sufficient stability in the soil environment, making it potentially useful for carbon sequestration.According to Al-Wabel et al. (2019) [128], date palm biochars exhibited much lower cumulative soil respiration than date palm feedstock, even with low-temperature biochar, indicating that the biochar has C sequestration potential.Moreover, date palm feedstock and biochar (300 • C) with an increasing addition rate lowered soil pH, whereas SOC, CO 2 -C efflux, and soil MBC were increased compared to the control.

The Impacts on Contaminant Remediation
Many studies have shown that biochars effectively immobilize various inorganic and organic pollutants [194,[199][200][201][202], thereby reducing plant uptake and food chain transfer [203].Biochars can also facilitate heavy metal precipitation in soil, stabilizing copper, cadmium, and organic matter in acidic soil conditions [204].Date palm biomass and biochar effectively reduce soil contamination from heavy metals [128,205].Changeable factors such as pyrolysis temperature, biochar dosage, and metal type affect the reduction of metal availability.Date seed biochar has a strong ability to adsorb Pb [II], Ni [II], and Cu [II] from aqueous media, even when these metals are present together [206].The order of adsorption capacities and selectivity is Pb 2+ > Cu 2+ > Ni 2+ .Low-temperature date palm biochar significantly reduced the mobile content of Cd, Cu, Pb, and Zn in mining-contaminated soil, as well as minimized soil CO 2 -C efflux [128].Biochars can also be used as alternative sorbents to remove different types of organic and inorganic contaminants from aqueous solutions [105].The pH and porosity of biochar derived from date seeds increased with the pyrolysis temperature, making it an appropriate medium for the removal of heavy metals in wastewater treatment systems [207].As stated by Mahdi et al. (2018) [208], the adsorption capacity demonstrated an upward trend in relation to both the pyrolysis temperature and heating duration.Producing biochar at a temperature of 550 • C and heating it for 3 h resulted in the most effective adsorption.It is worth mentioning that activated carbon derived from date seeds is one of the most widely used adsorbents due to its adsorption capability and low-cost raw material [209].Sizirici et al. (2021) [127] reported that the efficacy of date palm leaf or frond biochar in removing metals from water and wastewater remains consistent regardless of the pyrolysis temperature.Hence, adopting a strategy that reduces energy consumption for biochar production at lower temperatures while maintaining the same level of effective removal efficiency would present a mutually beneficial solution in terms of sustainability and economic considerations.

Effects on Soil Microbiology
Biochar has been found to improve soil parameters such as pH, C:N ratio, dissolved organic carbon, total carbon, and K concentrations, which can affect the dynamics of microbial communities.However, there are varied effects of biochar on soil microbial communities [210].In short-term field trials, biochar can stimulate microbial activity in acidic soil [211], but after 14 months, the pH returns to initial conditions and no increase in microbial activity is detected.Additionally, in short-and mid-term field trials [3-5 years], biochar addition has a minimal impact on microbial parameters such as biomass, respiration, abundance, diversity, and composition [212][213][214][215][216][217].However, biochar application can cause a significant shift in microbial communities in two core sites, which could help understand how biochar contributes to soil fertility [114].Additionally, Zhu et al. (2017) [218] found that biochar addition alters soil properties, alters microbial activity, and may negatively impact soil microorganisms due to the toxicity of reactive organic substances and heavy metals.Liao et al. (2016) [219] concluded that cotton straw biochar increased soil microbial biomass, carbon substrate utilization, and enzyme activity related to C and N transformation.Al-Wabel et al. ( 2019) [128] showed that date palm feedstock and biochar, with an increasing addition rate, significantly increased soil microbial biomass carbon compared to the control.Ming et al. ( 2016) [220] conducted a study where they separately added various biochars derived from straw residues and wood chips to paddy soil.The authors showed that biochar amendments modified the soil's microbial properties and, more specifically, increased the overall abundance of bacteria as well as the concentration of phospholipid fatty acids.Khadem et al. (2017) [221] examined how the addition of corn stalk biochar to two calcareous soils influences the activity of several cellular enzymes involved in C and N cycling and microbial metabolism.In arid soils, biochar may improve enzyme activities and, consequently, soil quality, carbon sequestration, and biogeochemical cycles.Zhu et al. (2017) [218] also examined the changes in soil microbial biomass carbon, nitrogen, phosphorus, urease, and alkaline phosphatase activities with biochar addition.In most cases, biochar increased microbial biomass carbon, microbial biomass nitrogen in the shallower soil layer, and alkaline phosphatase activity.Moreover, there were fluctuations in enzyme activities during the growth periods and depths.

Synthesis
Biochar application can improve agricultural production and sustain the oasis environment in poor countries.Karbout et al. (2019) [157] show that biochar dramatically alters sandy soil physical and chemical qualities and increases crop production.Biochar could assist developing countries in accepting climate-smart agricultural practices, thereby mitigating climate change and reducing vulnerability.While these benefits offer promise, low-cost and carbon-neutral technologies (i.e., transposable to farmers in the regions concerned) need to be identified to produce high-quality date palm biochar on a large scale.To ensure broad application and maximum benefits, processing date palm residues must occur on a continuous basis to prevent overexploitation and potential negative environmental risks.Given that date palm trees represent the main crop in the Oasian agroecosystems, field trials need to evaluate the optimal frequency and rate of biochar addition, including amending them.Karbout et al. (2019) [157] highlighted the key question of whether farmers in southern Tunisia will accept biochar as a novel supplement, combined with manure or compost, to address the waste problem in the oasis system.In addition, the effects of biochar on soil properties are very different depending on the type of biochar.The primary reason for this is the method of producing biochar and its interaction with the soil [120].These interactions include redox reactions, adsorption-desorption processes, as well as precipitation and dissolution phenomena.The impact is additionally influenced by the composition of the feedstock, specifically the mineral fraction, the conditions of the pyrolysis process, the particle size of the biochar, the rate at which biochar is applied, and the specific type of soil being treated [145,[222][223][224][225][226].According to Alotaibi and Jeff (2019) [143], the benefits of biochar derived from date palm residues [frond midrib and frond base residue] in sandy desert soil depend on the pyrolysis temperature and biochar aging process.Biochar increased soil water retention by 46%, especially with biochar aging in soil, when averaged across the incubation period (14, 30, 45, and 60 days).Unlike the BCs with high pyrolysis temperatures, the BCs with low pyrolysis temperatures (300 • C and 400 • C) significantly improved water retention.This may be due to the presence of oxygen-containing groups on the surfaces, making the low-temperature biochar less hydrophobic [154,227].Additionally, high-temperature biochar pyrolysis (500 • C and 600 • C) improved soil physical properties, specifically in terms of bulk density and total porosity.
It is worth mentioning that while date palm biochar has demonstrated benefits in productive agricultural systems (including both irrigated and dry systems), its application in areas with severe water scarcity is severely limited [228] due to moisture and salinity restrictions [229].A recent bibliometric study highlighted the limited number of studies on biochar application under arid conditions [230].At present, little research has explored the effects of biochar in arid and semi-arid regions, particularly on the biological functioning of the soil [228,231].In addition, little is known about biochar transport, even within the soil profile.Studies have already measured significant losses of biochar particles during and after spreading to the soil caused by wind erosion and water-preferential erosion of black carbon in various contexts [232,233].While biochars with high total pore volumes are more likely to increase soil water retention capacity (i.e., grass-derived biochars), their lower envelope density may lead to more rapid erosion [122].Hence, field trials should make it possible to verify the hypotheses put forward in the specific context of dry areas and to check the significance of the potential effects expected on crop productivity.
Using date palm leftovers to make biochar has the potential to improve soil fertility, water retention, and overall agricultural productivity.Nevertheless, the efficiency of biochar is dependent upon factors such as pyrolysis temperature, application rate, and soil type.Additional research is required to thoroughly study the effects of biochar, especially in dry environments, and improve its use for sustainable soil management and crop production, despite its potential advantages for agricultural systems in both irrigated and arid regions.

Principle of Compost Production
Composting is the most popular method for biologically decomposing organic waste.It is a process that progressively decomposes raw organic matter, such as tree residues from pruning, cereal straws, animal manures, or the organic fraction of solid urban waste, into stabilized humus [234].The ease of implementation and adaptability to a variety of farming systems make composting an attractive agricultural practice and a cost-effective and sustainable method of managing organic waste products [235].During composting, the organic wastes are stabilized by their conversion into humic substances while inactivating pathogen flora, allowing compost to be used for soil amendment [236,237].

Factors Influencing the Characteristics of Compost
The composting process and final product quality are especially related to their stability and maturity [238][239][240][241]. Composting effectively stabilizes organic residues by converting them into humic substances, rendering some of the pathogenic flora inactive.Consequently, compost can be used as a soil amendment [237].Furthermore, throughout the composting period, the main process parameters (temperature, pH, humidity, and C:N) are monitored to determine the compost's maturity.Various physico-chemical parameters and biological parameters are used to assess this process.These are important criteria for its safe use in agriculture, because immature compost may produce phytotoxic compounds that damage seed germination as well as plant growth [241].The effectiveness of the composting process depends on the composition of the raw materials, composting conditions, moisture levels, turning frequency, and temperature control.Physicochemical parameters such as pH, electrical conductivity (EC), water content, and carbon/nitrogen ratio (C:N), as well as biological parameters such as microbial diversity, respiration rates, germination index, tests for pathogens, and insecticide evaluation, play an essential role in determining the success of composting practices [242][243][244][245].The C:N ratio is one of the main parameters influencing the composting process, judging the degree of organic matter evolution (i.e., its ability to quickly break down in the soil) and the type of compost [246].When the carbon-to-nitrogen ratio is less than 20, the early decomposition process releases the mineral N [247].The C:N ratio is considered the initial optimum ratio at 25-30 [248].The optimal C:N ratio for basic materials, according to Misra et al. (2003) [249], is between 25:1 and 30:1, although ratios between 20:1 and 40:1 are also acceptable.On the other hand, Safwat et al. (2007) [250] suggested that for date palm compost to support microbial growth, the optimal C:N ratio at the end of the decomposition process is between 10 and 12. Hao et al. (2004) [251] stated that nutrient losses during composting are a key environmental issue as they reduce the fertilizer value of the final compost.Many studies, though, have shown that this parameter cannot be used in a strict way because it shows that products with a high C:N ratio decompose quickly while products with a low C:N ratio decompose slowly [252,253].Thus, high-C:N materials can significantly enrich SOC as long as the fiber/cell content ratio is sufficiently high [254].
Composts have been used to promote plant growth, but concerns have been raised about their application due to their high sodium content [255].Particularly, arid regions of North Africa, like Tunisia and Algeria, produce composts that contain substances that reduce biological activity and complicate the decomposition process.Due to rising soil salinity issues and rapid water evaporation, farmers in these regions may hesitate to incorporate compost into their crops [256,257].Composts with high levels of soluble salts may be suitable for use when crops are not present or cannot be planted immediately after application [258].To prevent salt toxicity in plants, compost with high electrical conductivity (EC > 5 dS m −1 ) should be incorporated into soils or other growing media [255].Composts with high EC values and low NaCl content will not cause harm if the soils they are applied to do not exceed an overall EC of 4 dS m −1 after application.Applying composts with high EC can remediate saline-sodic soils by enhancing the cation exchange capacity, which in turn facilitates the leaching of Na+ from the soil.Many researchers have investigated the feasibility of incorporating additional substances, such as zeolites, into compost to decrease EC [259][260][261].Turan (2008) [260] and Chan et al. (2016) [261] illustrated that the incorporation of zeolite resulted in a decrease in the EC of compost made from a variety of raw materials.Zeolite has a high CEC because of its crystalline structure, which facilitates cation absorption [262].Zeolite has a high CEC because of its crystalline structure, which facilitates cation absorption [262].
While date palm compost can serve as an effective soil amendment, concerns about its high sodium content and soluble salts highlight challenges in ensuring its suitability for agricultural use.Strategies to mitigate these concerns include incorporating additional substances like zeolites and leaching with high-quality water.Indeed, due to its high CEC, zeolite can reduce salinity and heavy metal availability during composting; however, its beneficial effect is limited at low pH [261].Leaching compost with high-quality water can reduce salts to produce leachate if elevated EC levels are a concern [263].Furthermore, studies suggest that irrigating enriched soils with compost and high-quality water can mitigate vegetative salt stress that may occur during the planting process [264].During the initial leaching events, the compost retained a large portion of calcium and magnesium while removing the majority of Na + ions.Nevertheless, there is a possibility of nutrient loss, including that of N, P, and K [263].To tackle this issue, composting facilities have the option to reintroduce leachate into compost or new feedstocks [265], dilute it for use as fertilizer or weed control, or dispose of it in a constructed wetland [266].These techniques might not be suitable for large composting facilities characterized by elevated nutrient concentrations and oxygen requirements [267].Electrocoagulation/flotation, filtration, biofilters, anaerobic bioreactors, membrane bioreactors, and advanced oxidation processes are some ways to treat leachate.As stated by Roy et al. (2018) [268], biological treatments, such as membrane bioreactors and filtration, are most efficient and economical.Overall, addressing the above constraints is crucial to maximizing the benefits of date palm compost while minimizing potential negative impacts on soil health and crop productivity.

Composting of Date Palm Residues-Added Value of Compost
The date palm waste recycling process is not a new technology, but it is considered the most important biological process within the environmental system that aims to maintain environmental balance [250].Because of the vast volumes of palm waste produced throughout each crop season, farmers always attempt to burn or transport it outside the oasis.This presents a significant challenge for the farmers.Safwat et al. (2007) [250] concluded that farmers could utilize date palm branches to produce high-quality compost instead of burning them.Composting could provide an economical and environmentally significant method to reduce date palm waste [269].El Janati et al. ( 2023) [22] emphasized that composting date palms is a viable option for enhancing circularity in oasis agroecosystems.Enhancing the organic matter content and fertilizer value facilitates the sustained production of valuable products from date palms.Only a few studies have considered the valorization of date palm residues in arid areas with composting [241,270].Commercialscale composting of date palm waste can use either the traditional windrow method or a more advanced method, such as vermicomposting.El Janati et al. ( 2023) [22] stated that before establishing windrows, they pre-process crushed date palm residues by immersing them in a water basin.This was performed to encourage the growth of microorganisms on the date palm particles and enhance the potential of crushed date palms to be broken down by composting.Windrows are rotated to manipulate temperature and humidity, facilitating the growth of microbes on the feedstock aggregates and ensuring the uniformity of the final products.In its initial stage, the windrow that forms a natural slope is compact at the top [86], and El Janati et al. ( 2023) [22] estimate that it can reach a maximum height of 1.4 m.The windrows' final shape depends on the configuration of the available land.
Date palm waste contains approximately >80% organic content, making it ideal for composting, but suffers from a significant lack of nitrogen compared to other wastes.Additionally, there is a high lignin content in date palm residues (≈30 wt.%), especially the rachis [49,270].This makes the composting of date palm tree residues difficult and time-consuming [80].Recently, Giagnoni et al. (2019) [271] defined co-composting as a designed technique that allows the aerobic degradation of organic waste mixtures, primarily aiming at obtaining a product with specific characteristics.In contrast to conventional composting practices, a notable difference is the use of the waste ad-mixture, which is used not only to initiate and maintain the biodegradation process but also to facilitate the combination of various waste components to produce customized products with specific characteristics.Furthermore, by using tailored co-composting protocols, this approach enables the reclamation and valorization of natural resources like degraded or polluted soils and sediments.
It is well recognized that in the case of composting low-nutrient feedstock, additions are used to improve the overall nutritional content of the compost [272].Combining date palm residues with other organic materials, especially animal manures, accelerates the composting process and produces higher-quality compost [22,269,273].Indeed, manure is a source of nutrients and microflora that increases microbial activity during composting [22].Benabderrahim et al. (2018) [269] produced compost from date palm wastes using cow manure.The following steps guide compost's mechanical production: (1) Collection of palm tree wastes.(2) Grinding residues.(3) Soaking the ground material in water (7-10 days).( 4) Drying and mixing with cow manure in a 3:1 volume ratio.(5) Preparation of windrows and fortnightly mixing of a specific quantity of water that has been aged for a duration of 6 months before its utilization is conducted with the aim of eliminating any potential pathogens.The authors concluded that field-grown Medicago sativa plants benefited greatly from the application of date palm compost at a rate of 30 t ha −1 .The characteristics of palm compost and cattle manure obtained are shown in Table 1 [269].Additionally, palm leaflets can co-compose with goat manure when it is available [241].Goat waste is rarely used, and palm waste composting is blended at 32% in previously barely reported efforts.Waste-soaking prior to windrow management increased the biodegradability of crushed date palm.This increased microbial activity and decreased composting.The remaining wastewater from the soaking step was used for windrow humidification during the mesophilic and thermophilic phases.The wastewater from the soaking stage was utilized to humidify the windrows during the mesophilic and thermophilic stages.The resulting compost had a neutral pH level and a relatively high EC.A low C:N ratio and a high germination index (GI) value (88%) further demonstrated its stability.Based on its organic matter content of less than 55% and total nitrogen content of less than 3%, the compost that was developed was defined as vegetal compost.
El Janati et al. ( 2022) [22] found that composting date palm leaves can improve the circularity of oasis agroecosystems.Co-composting date palm residues with sheep manure over two growing seasons enhanced the silage corn productivity and nutrient uptake (N, P) in an arid agroecosystem [22].Conversely, the application of date palm leaf compost alone led to mineral nitrogen starvation in the soil.Adding manure improves the quality of the final composts by enhancing the sanitation of the initial feedstock and increasing the initial nitrogen content.The initial stages of composting in mixtures containing manure led to a 40% reduction in organic matter content across all windrows, indicating organic matter mineralization and organic matter loss.The addition of date palm residues, sheep manure, and rock phosphate resulted in a final total phosphorus concentration of 0.52% (d.w.) in the compost.
Compost derived from water-soaked mixed date palm waste and goat manure can serve as a beneficial organic amendment for soils, as found by Abid et al. (2020) [241].The compost demonstrated a rapid temperature increase and a long maturation phase, reducing organic matter content by 36% and changing the C:N ratio from 60 to 20.The compost did not exhibit phytotoxicity effects on indicator plants, thus qualifying it as green waste compost [NF U44-051].This efficient, environmentally friendly, and economically viable solution for date palm waste treatment is crucial for sustainable agriculture.Dhehibi et al. (2020) [86] conducted feasibility and technical research to create a recycling date palm by product unit in the Gulf Cooperation Council countries for producing compost from date palm waste.The following stages outline the compost production procedure: 1. Collection of date palm waste considering the fact that each date palm tree produces about 20 kg of dry basis.2. Grinding [crushing], the homogenization of the crushed product 3. Adding treated biosolid sludge to the crushed product is necessary to initiate and promote the composting process.4. Windrow formation process.

Monitoring the Composting Process
The monitoring process for composting date palm residue relies on three important factors: humidity, aeration, and temperature [86].The composting site selection within the oasis farm is critical, as it can help reduce the risk of drying out in the sun.To compensate for evaporation and enhance oxygenation, it is recommended to regularly water, turn and aerate compost (ideally every 15 days).The periodic aeration of the compost, as microorganisms require air and thus oxygen to function correctly, is a key principle regulating composting.By incorporating fibrous parts (cut branches measuring around 5 cm in length), you can improve ventilation.Moreover, the authors stated that a low nitrogen content in the date palm compost mixture prevents its degradation.If the nitrogen content is excessive, the compost can overheat and kill microorganisms.
Other organic materials could also be used to prepare date palm compost.For example, Habchi et al. (2020) [80] used different amounts of alfalfa [Medicago sativa L.] plant as a nitrogen source (20%, 30%, 40%, and 50%) to facilitate the degradation of date palm wastes and accelerate the composting process.Changes in the physicochemical properties of the obtained composts were mainly due to variations in the contents of date palm waste and Medicago sativa L. used.Dhehibi et al. (2020) [86] added treated biosolid sludge to the crushed material of date palm to initiate and promote the composting process.This treated biosolid sludge came from the treatment plants in neighboring areas and was transported to the site.Vico et al. (2018) [270] explored the use of co-composting palm waste with urban and agri-food sector sludge as a treatment alternative for organic waste streams.The process allowed for sanitization conditions (temperature values increased during the initial week, exceeding 40 • C, and remained consistent for over two weeks), and increased the economic value of the composts due to their high nutrient content and favorable physical characteristics.However, the salt content in composts with the highest proportions of sewage sludge may limit their agronomic application.
In horticulture, many researchers have demonstrated the importance of the potential advantages derived from the economically viable use of composted date palm materials as a soilless substrate.Raja et al. (2021) [274] provided strong evidence that the appropriate composting of finely ground date palm materials over a period of 30 weeks resulted in the most favorable physicochemical properties compared to peat moss used as a control, uncomposted date palm residues, and date palm residues composted for 15 weeks.Aydi et al. (2023) [78] concluded that date palm waste-based substrates, particularly trunk compost, could offer a more cost-effective alternative to the commonly used coconut fiber substrates in soilless cultures in Tunisia.The study's findings indicated that using date palm and coconut fiber substrates resulted in enhanced vegetative growth.When compared to traditional soil-based cultivation methods, using substrates derived from date palm waste resulted in notable improvements in both the vegetative growth and fruit yield of melon.
Overall, composting date palm waste provides a sustainable solution for managing agricultural by-products, promoting environmental balance and circularity in oasis agroecosystems, and addressing waste disposal challenges.It is important to highlight that date palm composting involves the presence of a high lignin concentration in date palm leftovers, which complicates and prolongs the composting process.Additionally, there is a notable deficiency of nitrogen in comparison to other types of waste.

Effects of Compost Application on Soil Properties
Sustainable soil management aims to enhance soil organic matter by preserving, protecting, and augmenting its content through optimal agronomic practices.This can be achieved through various management strategies, such as providing organic fertilizers, manure, compost, or soil improvers [234].Compost products can be used as a conditioner and enhancer for soil structure, increasing soil organic matter, reducing plant pathogens, and stimulating plant growth [275][276][277].Recycling plant residue biomass in combination with compost has enhanced soil organic matter (SOM) in Mediterranean tree crops like olive, peach, kiwifruit, and apricot [278][279][280].Compost amendments can reduce the need for inorganic fertilizers by the organic grower [281].Organic fertilizing and compost supply farming operations are generally effective in establishing a rapid and progressive increase in soil organic matter content and boosting soil fertility [279,282,283].However, Kavvadias et al. (2018) [284] found that adding compost from shredded pruning residues or olive mill by-products had no significant effect on soil organic matter, total and inorganic nitrogen, or soil microbial properties.Ferrara et al. (2015) [285] and Jokela et al. (2009) [286] found slight changes in soil organic matter and chemical parameters after soil amendment, suggesting it may take years for some quality indicators to fully respond.Transitioning between conventional and organic farming practices can lead to decreased nitrogen availability and yields due to a shift in biological activity and N sources that are not immediately available for plant use [277].The impact of organic amendments on soil nitrogen dynamics can be described by assimilation efficiency, C:N ratio, and microbial biomass C:N ratio [287,288].Compost additions have a strong nutrient-supplying capacity [289], and external carbon sources such as compost, farmyard manure, and slurry result in the highest increases in SOC concentrations compared to similar mineral N fertilization rates [289], as well as improved soil physical conditions and increased soil microbial activity [290,291].
With regards to the impact of date palm compost on soil properties in arid and semi-arid regions, El Janati et al. (2021) [21] reported that agricultural soils in oasis regions have poor structure and low organic matter content (i.e., <1.5%).As a result, recycling date palm waste through composting in a circular agriculture model is hugely important to promoting oasis sustainability.In Tunisian oasis ecosystems [292], the application of organic fertilizers such as date palm waste compost is strongly recommended to improve the main soil physicochemical properties [organic matter and water retention capacity], which can positively affect plant yield and promote agroecosystem health [132,269,292,293].Benabderrahim et al. (2018) [269] found that applying palm waste compost at 30 t ha −1 improved the main soil properties (organic matter and water retention capacity) while decreasing their electric conductivity.They concluded that the palm tree compost could effectively serve as an organic fertilizer for surrounding crops, replacing chemical fertilization with satisfactory results at appropriate doses.Adding organic matter to salinity-affected soils enhances the leaching of sodium chloride, reduces the exchangeable sodium rate and EC, and boosts water infiltration, the soil's water retention capacity, and its overall stability [294].Composting and/or pyrolysis of date palm residues proved to be a viable alternative to improving the water retention properties of sandy and loamy soils.Le Guyader et al. (2023) [142] tested different types of organic amendments at a dose of 60 t ha −1 , considering 0-20 cm of depth: compost alone, biochar alone, and a mixture of compost and biochar (50:50 in weight).Their findings indicate that coarse-textured soil treated with organic amendments had a higher AWC.Incorporating biochar, either alone or in conjunction with compost, into a specific soil resulted in greater water retention than applying compost alone.Coarse-textured soils exhibited a more notable enhancement in their water retention characteristics.In addition, Ghouili et al. (2022) [292] stated that date palm waste compost significantly increased plant growth and barley grain yield.They suggested that this could be due to the stimulation of genes involved in the assimilation and transport of nitrogen and phosphorus in barley plants' leaves and roots.
In terms of the microbiological context, the tested sandy soil exhibited a higher organic carbon content, and all treatments (chicken manure compost and composted date palm tree wastes) showed an increase in the number of microorganisms compared to the control [132].Ghouili et al. (2023) [295] demonstrated that the application of date palm waste compost significantly improved soil microbial diversity and richness during the tillering, booting, and maturing stages of barley growth.In particular, palm compost fertilization significantly raised the fungal richness and diversity indices relative to the control, while the bacterial richness and diversity indices decreased significantly.They suggested that applying date palm waste decomposition products may have stimulated soil fungi growth due to changes in soil pH, nutrient content, and SOC levels.Therefore, to maximize its effectiveness in sustainable soil management practices, we must address challenges such as poor soil structure and low organic matter content in arid and semi-arid regions, despite the benefits of date palm waste compost in promoting soil health and productivity.

Concluding Remarks
Date palm is considered one of the most appropriate crops for cultivation in the Mediterranean and the MENA region, where harsh environmental conditions prevail.However, every year, agricultural lands accumulate large amounts of residues (dry leaves, stems, and seeds) from harvested date palms.Farmers in date-producing countries that primarily aim to burn or dispose of large amounts of palm residue each year suffer substantial expenses and contribute to environmental degradation.Moreover, the date palm agro-industry generates significant amounts of waste.On the other hand, there is a lack of comprehensive data on long-term research studies that aim to assess the impact of long-term date palm residue management practices on soil quality and productivity.This claim holds particular significance for arid and semi-arid regions, which exhibit greater susceptibility to both climate change and soil degradation.
Date palm residues can be composted and/or pyrolyzed as a viable alternative to enhance the water retention properties of coarse-textured soils, although there is limited information available on the composting and biochar processing of these residues.With regards to the pyrolysis of tree residues, biochar appears to be a new potential low-cost and effective material that has a wide range of characteristics, transfusing unique properties.Biochar characteristics vary depending on the raw biomass materials and biochar production conditions.Date palm biochar can be considered a long-term agriculture adaptation strategy due to its unique mitigation potential and functions to enhance soil health and soil carbon sequestration.Biochar has been reported to be an effective immobilizing agent for a wide range of inorganic and organic pollutants, thereby reducing plant uptake and food chain transfer.Biochar application in soil results in not only soil remediation from organic and inorganic pollutants but also improvements in both soil physical and chemical properties, including carbon sequestration.Specifically, the unique properties of biochar, such as its porous structure, influence microbial biomass and composition, providing an ideal environment for microbes to develop and colonize.The production conditions of the biochar, the application rate, and the specific soil type can all impact the extent of these effects.Researchers have conducted limited research to explore the mechanisms through which biochar application influences the soil properties of arid and semi-arid soils, as well as to investigate the long-term impact of biochar.Research on using various components of the date palm for biochar production may be contracted, along with determining the most efficient dosage for soil application.Future studies should also investigate biochars with different characteristics to alleviate soil contamination from heavy metals.
Composting can provide an economical and environmentally relevant method to reduce date palm residues.Date palm residues contain approximately 80% organic matter, making them ideal for composting, but they suffer from a significant lack of nitrogen compared to other wastes.However, co-composting date palm residues with other organic materials, particularly animal manures, speeds up the composting process and produces higher-quality compost.Most regions that cultivate date palm typically have agricultural soils with poor structure and low organic matter content.In a circular agriculture model, recycling date palm waste through composting is of great interest to promote sustainability.Only a few studies, however, have considered the valorization of date palm residues in arid and semi-arid regions with composting.Research limitations in co-composting may relate to manure typology and abundance.Recent research showed that the application of date palm compost improved the main soil's physicochemical properties.Compost can also promote beneficial microorganisms, resulting in increased plant availability of essential nutrients, the production of substances involved in plant growth, and the suppression of some pathogens, thereby enhancing crop yield and disease resistance.Farmers in arid regions, on the other hand, are hesitant to incorporate compost into their crops due to concerns about phytotoxicity from soluble salts.In areas with limited irrigation water and rapid water evaporation, compost with high EC values should be used to prevent salt toxicity in plants, as long as the soils do not exceed an overall EC of 4 dS m −1 .Future research could emphasize the time efficiency of composting processes and the use of other agricultural wastes in combination with date palm waste.To combat soil erosion and degradation, researchers should focus on utilizing the compost produced from composting date palm wastes and residues in arid areas.
Additional research is required to determine the long-term effects of date palm biochar and compost on the environment in general and on the microbial community exhibiting specific soil functions in the plant rhizosphere in particular.Increasing the beneficial uses of palm waste will increase people's interest in planting this crop, which can lead to sustainable industrial and economic growth in various areas.Therefore, we must explore the potential of date palms in various applications to motivate industries to produce value-added products from date palm waste for future use.