Introduction

Balanites aegyptiaca (L.) Delile (B. aegyptiaca), commonly known as the desert date, is a drought-resistant tree species belonging to the family Zygophyllaceae. It is widely distributed across arid and semi-arid regions of Africa, the Middle East, and South Asia1. The plant, especially its fruit, holds a significant traditional value in folk medicine, where it has been used to treat a variety of ailments including diabetes, liver dysfunction, gastrointestinal disorders, and respiratory illnesses2. These therapeutic properties are largely attributed to its diverse array of bioactive compounds such as phenolic acids, flavonoids, alkaloids, and saponins which have demonstrated antioxidant, anti-inflammatory, antimicrobial, and anticancer activities3. Beyond its medicinal importance, the fruit is rich in essential nutrients, including vitamins, minerals, and carbohydrates4.

Fruit maturation is a highly dynamic process that encompasses significant genetic, physiological, and biochemical changes, shaping the fruit’s composition, quality, and functionality5,6. This maturation process is regulated by hormonal signaling molecules such as ethylene, which play a crucial role in coordinating the metabolic transitions associated with ripening. The metabolic transformations occurring during fruit maturation offer crucial insights into the biochemical pathways responsible for the development of flavor, texture, nutrients, and overall fruit quality7. The transition from the immature to the mature stage in fruits is marked by profound metabolic shifts, including changes in primary metabolites essential for growth and energy, as well as secondary metabolites that influence the fruit’s potential bioactivities8,9.

In arid zones such as south of Egypt, where B. aegyptiaca naturally grows, the growth environment is characterized by extreme conditions: prolonged drought, high solar radiation, and summer temperatures frequently exceeding 42 °C10,11. These conditions can lead to altered ripening patterns and stress-driven metabolic reprogramming. In this harsh habitat, accelerated fruit development and enhanced antioxidant responses are often observed as adaptive strategies to complete the reproductive cycle before critical stress thresholds are surpassed12,13. The distinct stress-induced metabolic pathways in medicinal desert plants remain largely unexplored, yet their investigation could provide critical insights into elucidating both the physiological and metabolomic adaptations to such extreme conditions and the pharmacological efficacy of the plant’s fruit.

Metabolic profiling offers a robust approach to unravel the complex biochemical networks of medicinal plants, enabling the identification and quantification of metabolites involved in the fruit maturation process. By employing different omics approaches, it is possible to understand the molecular physiology during fruit ripening14. 1D NMR experiments, such as 1H NMR, are predominantly utilized in metabolomic studies due to their capacity to deliver rapid and quantitative analyses of metabolite mixtures. However, the inherent complexity and peak overlap in 1D NMR spectra can obscure essential data, particularly in samples characterized by a high diversity of metabolites. 2D NMR spectra are used to enhance spectral resolution by distributing NMR signals across a secondary frequency dimension. This distribution not only clarifies overlapping peaks but can also facilitate the interpretation of coupling patterns and chemical shifts (for example, 2D J-resolved NMR)15,16. Although 1D and 2D NMR techniques provide excellent structural information and reproducibility, 2D NMR workflows typically require longer acquisition time, compared to other techniques17.

To gain a comprehensive understanding of the metabolomic mechanisms underlying fruit ripening in extremophile plants such as B. aegyptiaca, it is essential to integrate NMR-based metabolomics with advanced statistical and pathway analyses. In this study, the metabolic profiling of B. aegyptiaca fruit ripening under the extreme environmental conditions of Aswan in Egypt, an arid region characterized by intense and prolonged drought stress, was investigated. Using high-resolution NMR-based metabolomics, stage-specific metabolites were identified to delineate the associated biochemical pathways involved in the ripening process. Furthermore, cytotoxic activity of immature and mature fruit extracts was investigated through in vitro assays and in silico docking study.

Materials and methods

Plant material

The fruits of B. aegyptiaca were collected in June and August 2022 from the botanical garden of Aswan University in Egypt with geographical coordinates of 24.00° N and 32.86° E. Five trees, each representing one replicate, were randomly selected. Immature fruit was collected in June 2022, whereas the mature fruit was collected in August 2022. The identification of the plant was carried out through a detailed examination of the plant’s morphological characteristics, which were then compared to the literature18. The plant was further authenticated by Prof Hasnaa Hosni, professor of Plant Taxonomy at the Botany Department of Cairo University in Egypt and (Herbarium specimen No. HEU 011107) was kept at the herbarium of Faculty of Science, Helwan University in Egypt. The fruits collected for running the experiments were immediately immersed in liquid nitrogen and subsequently kept at − 80 °C.

Metabolite extraction

The frozen fruits were lyophilized for 24 h, and then completely homogenized. Twenty mg of each replicate was extracted using methanol, chloroform, and water in the proportions of 2:2:1.8 (V/V/V) based on the dry mass and water loss ratio19,20. Each extract was centrifuged at 5000 rpm for 5 min and the upper aqueous layer (polar extract) was separated and dried under vacuum.

NMR data collection, metabolite identification, and quantification

The dry extract was redissolved in 620 µL NMR buffer, comprising of 1 mM TMSP-d4 (deuterated trimethylsilylpropanoic acid), 100 mM sodium phosphate buffer, and 0.1% sodium azide in 99.9% D2O. NMR data was collected using 700 MHz Bruker Avance™ III spectrometer controlled by TopSpin 3.5 software. The 1H NMR spectra had a width of 16.0 ppm and 64K data points. During a 3-s recycling delay, on-resonance pre-saturation was employed to suppress the solvent. The initial increment of the pre-saturation nuclear Overhauser effect spectroscopy (pre-sat NOESY) spectra was obtained using a total of 120 scans, including 4 dummy scans, with a relaxation delay of 3 s and pre-saturation at the residual water frequency. The 90° pulse width for each sample was determined using the automatic pulse calculation experiment (pulsecal) feature in TopSpin 3.5 software (Bruker BioSpin, Billerica, MA). The data collection involved the use of a Bruker hsqcedetgpsisp 2.2 pulse sequence to acquire the 1H-13C HSQC data. The 1H resonance was detected in the F2 dimension, exhibiting a spectral width of 16 ppm, whereas the 13C resonance in the F1 dimension displayed a spectral width of 252 ppm. The acquisition of the 2D J-resolved NMR spectra involved 12 scans and 16 dummy scans with TD of 8192 for F2 and 40 for F1 dimension. The spectral widths used were 16 ppm in F2 dimension and 78 Hz in F1 dimension. A relaxation time of 1.0 s was utilized. The windows function was assigned to SINE for both dimensions. The sine-bell shift (SSB) was set to 0. The raw 2D J-resolved spectra was processed (tilted and symmetrized with respect to F1 = 0) and projected using Mnova 9.1.0 software (Mestrelab Research, S.L., USA, https://mestrelab.com/). The processed spectra were extracted using Mnova Software Suite.

Identification of metabolites was initially conducted through a comparison of the 700 MHz 1H data obtained from polar extracts with the 700 MHz database available in the Chenomx NMR Suite (Edmonton, Alberta, Canada). Spectral peaks were fitted with the standards in the Chenomx database for identification. For peaks that exhibited overlap in the proton spectra, J coupling constants and 1H-13C HSQC cross peaks were cross-referenced with previously published 1H-13C HSQC data and data obtained from the online sources: Human Metabolome Database (HMDB) and Biological Magnetic Resonance Bank (BMRB).

Chenomx provides the concentration of each fitted metabolite in mM based on the proportionality of the metabolite’s peak area and proton equivalence to those of the internal standard, TMSP (1.0 mM). Use of a standard 1D pre-sat NOESY, which is not sensitive to small T1/T2 variation, along with controlled sample conditions (temperature and pH/buffer) ensures consistent relaxation behavior in most metabolites; thus, fitting experimental spectra to Chenomx’s library of standards yields valid metabolite concentrations.

NMR data treatment and statistical and pathway analysis

Raw NMR spectra were processed using TopSpin 3.5 for alignment, baseline correction, phase correction, and chemical shift referencing to TMSP at 0.0 ppm. Spectral data were extracted from the 0.5–10.0 ppm region (excluding the water region at 4.733–4.833 ppm) with 0.01 ppm bucket widths using AMIX software 4.0 (Bruker BioSpin, Billerica, MA: https://www.bruker.com/en/products-and-solutions/mr/nmr-software/amix.html). The resulting bucket tables were exported to MetaboAnalyst 6.021. Missing values were imputed as 1/5 of the minimum positive value for each metabolite to mitigate bias, followed by log transformation and autoscaling (mean-centered, unit variance) to normalize variance across features. Data preprocessing with univariate and multivariate analyses were then conducted.

The statistical analysis was based on the difference in the relative concentrations of the variables across the two fruit types. Principal component analysis (PCA) was applied to reduce dimensionality and visualize global metabolic variation. Sample clustering was assessed using Hotelling’s T2 ellipses (95% confidence intervals), and group separation significance was evaluated via permutational multivariate analysis of variance (PERMANOVA; 999 permutations). Partial least squares discriminant analysis (PLS-DA) was applied, with 95% confidence regions displayed to validate clustering robustness. Hierarchical clustering analysis (HCA) employed Euclidean distance as the similarity metric and Ward’s minimum variance algorithm for dendrogram construction.

Significant metabolites (based on concentration) between the two developmental stages were identified using volcano plot analysis, combining a fold change threshold of > 2 (log2|FC|> 1) and T-tests (p < 0.05). To preserve the biological relevance, FC ratios were calculated using raw, non-normalized data. Features meeting both thresholds were classified as significant. The top 24 significant metabolites were visualized as boxplots, depicting relative concentrations across developmental stages.

Pathway analysis was conducted using metabolite sets from the Kyoto Encyclopedia of Genes and Genomes (KEGG) human metabolic pathways. Significantly altered metabolites were mapped to pathways via MetaboAnalyst’s built-in library, and enrichment significance was assessed using a hypergeometric test. Pathway analysis was performed using Arabidopsis thaliana metabolic pathways as a reference. Pathway topology was weighted based on node centrality.

Cytotoxic activity against hepatocellular carcinoma

The polar extracts of both fruit types were tested for their cytotoxic activity against hepatocellular carcinoma employing the colorimetric assay Sulforhodamine B (SRB). The hepatocellular carcinoma cell line was obtained from the Nawah Scientific Laboratory, Cairo, Egypt. Cells were maintained in DMEM medium supplemented with 100 mg/mL streptomycin, 100 units/mL penicillin, and 10% heat-inactivated fetal bovine serum in a humidified, 5% (V/V) CO2 atmosphere at 37 °C. The dried fruit extracts (n = 3) were solubilized in dimethyl sulfoxide (DMSO). Cell suspensions (100 µL, 5 × 103 cells) were seeded in 96-well plates and incubated for 24 h. Cells were treated with 100 µL of medium containing B. aegyptiaca fruit extracts at various concentrations (0.0–400 μg/mL) for 72 h. Stock solutions were prepared in DMSO and serially diluted in the culture medium to ensure the final DMSO concentration in each well was maintained at 0.1% (v/v). The medium was replaced with 150 µL of 10% trichloroacetic acid (TCA) and incubated at 4 °C for 1 h. After TCA removal and rinsing with distilled water, 70 µL of 0.4% SRB solution was added, incubated for 10 min at room temperature, and protected from light. Paclitaxel was used as a positive control. The negative control consisted of untreated cells with culture medium containing DMSO. The blank contained medium and SRB reagent without cells. Post-rinsing with 1% acetic acid and air-drying preceded the absorbance measurement at 540 nm using a FLUOstar® Omega reader after SRB dissolution in 10 mM TRIS.

Molecular docking study

Molecular docking was conducted to assess the binding interactions of metabolites from polar extracts of immature and mature B. aegyptiaca fruits with the anti-apoptotic protein BCL-2, using Schrödinger Maestro (version 2023-2, Schrödinger, LLC, New York, NY, USA) with the Glide module. The BCL-2 structure (PDB ID: 4LVT) was obtained from the Protein Data Bank (www.rcsb.org) and prepared using the Protein Preparation Wizard, which involved adding hydrogens, assigning bond orders, optimizing hydrogen-bond networks, removing non-essential water molecules beyond 5 Å from the active site, and minimizing with the OPLS4 force field to a root-mean-square deviation (RMSD) of 0.3 Å. From 45 statistically significant metabolites (fold change > 2, p < 0.05), 29 were selected for docking based on high/moderate abundance in immature fruits, reported anticancer activity or metabolic relevance to cancer, and structural feasibility (molecular weight ≤ 500 Da, suitable hydrogen bond donors/acceptors), as verified via PubChem (https://pubchem.ncbi.nlm.nih.gov). Metabolite structures were prepared using LigPrep, generating ionization states at pH 7.0 ± 2.0 with Epik, enumerating tautomers, and minimizing with OPLS4. A receptor grid (20 Å × 20 Å × 20 Å) was centered on the BCL-2 active site using Glide’s Receptor Grid Generation tool. Docking was performed in Glide Extra Precision (XP) mode, retaining up to 10 poses per ligand. The protocol was validated by redocking the co-crystallized ligand (RMSD < 2 Å). Docking scores (kcal/mol) and interactions (hydrogen bonds, salt bridges, π–cation, π–π stacking, hydrophobic contacts) were analyzed using Maestro’s Pose Viewer and visualized in PyMOL (version 2.5).

Results and discussion

Metabolomic analysis of the polar extracts

The collected fruit was ellipsoid-shaped, measuring approximately 5.5 cm in length and 3.0 cm in diameter. The immature fruit exhibited a green color with a rough texture, while the mature fruit transitioned to a smooth, golden appearance, encased in a crispy exterior containing a sticky brown pulp (Fig. 1).

Fig. 1
figure 1

Fruit of the desert date, B. aegyptiaca collected from Aswan, Egypt. (A) Immature fruit and (B) Mature fruit.

The average extraction yields from the immature and mature fruit were 29.0% (5.8 mg) and 30.7% (6.1 mg), respectively. A total of forty-five metabolites were identified in the polar extracts of both immature and mature fruits (Table 1). While the 1D NMR data were helpful for annotating several metabolites (Figs. S1 and S2), the verification of certain metabolites was challenging due to signal congestion and overlapping peaks, particularly in narrow spectral regions. To address these challenges, HSQC (Fig. S3) and 2D J-resolved (J-res) NMR spectroscopy were employed. The projected spectra from the J-res experiments enabled the precise assignment of individual compounds, which were further confirmed by the 2D J-res spectra (Fig. 2). The identified metabolites span various chemical classes, with sugars being the dominant group in both mature and immature fruits (Fig. S4). In the densely populated sugar region (δH 3.0–5.5 ppm), six sugars and sugar alcohols were assigned based on their distinct signals, including the anomeric protons.

Table 1 Metabolites identified in the polar extract of Balanites aegyptiaca fruit.
Fig. 2
figure 2

J-resolved NMR of Balanites aegyptiaca polar extract. Original and projected spectra in the region δH 0.0–6.0 ppm (A); expanded regions between δH 0.8–3.0 ppm (B); and δH 3.1–4.0 ppm (C) with their respective 2D J-resolved NMR spectra (D) of identified metabolites in each region.

In mature fruits, glucose and glucose-6-phosphate were the most abundant, whereas sucrose and pinitol predominated in immature fruits (Fig. S5A). This developmental shift in sugar metabolism, associated with fruit maturation, reflects a transition from sugar import and storage to enhanced glycolytic activity and metabolic readiness. While Farag et al.22 identified sucrose as the primary sugar in B. aegyptiaca fruits collected from the Red Sea Governorate in Egypt, our findings highlight distinct geographical and/or metabolic variations. The accumulation of monosaccharides in mature fruits suggests enhanced glycolytic flux, possibly supporting increased energy demand and biosynthetic activity during ripening. These differences underscore the importance of considering both developmental stage and geographic origin in metabolomic profiling of B. aegyptiaca fruits.

Furthermore, several organic acids were identified, with malate and citrate being the most prevalent in immature fruits, while pyruvate was the most prevalent in mature fruits (Fig. S5B). Amino acids and their derivatives were detected in the fruits, with homoserine and proline being the most abundant in both maturation stages. In mature fruits, homoserine and proline were present at concentrations of 1.4 ± 0.004 mM and 2.6 ± 0.15 mM, respectively, whereas their levels were significantly increased in immature fruits, reaching 5.5 ± 0.006 mM and 5.8 ± 0.33 mM, respectively (Fig. S5C). Histamine and phenylalanine exhibited the lowest concentrations. This finding is in contrast to Cook et al.23, who identified glutamic acid as the most abundant amino acid in B. aegyptiaca fruits from Niger.

Some aromatic amino acids, alkaloids and phenols such as theophylline and trigonelline, and syringate were identified in the aromatic region (Fig. S5D). Trigonelline has been previously reported in the fruits of B. aegyptiaca22. Notably, this study reports the first detection of theophylline and syringate in this species. These metabolites were not previously documented in B. aegyptiaca.

The polar extract obtained from the immature fruit was characterized by fifteen compounds, including asparagine, tyrosine, and valine, which were not detected in mature fruit. These amino acids are more abundant in early fruit development, playing a key role in protein synthesis24. It has been found that their concentration is significantly increased in immature tomato fruit compared to mature fruit25.

γ-Aminobutyrate and threonine were detected in immature fruit but were absent in mature fruit. Conversely, glutamate was present in mature fruit but not in immature fruit. Glutamate has been recognized as a key biomarker in fruit ripening. During fruit maturity, the concentration of glutamate and its derivative, γ-aminobutyrate, undergoes substantial changes. Our findings are consistent with those of Sorrequieta et al.26, who observed a decrease in γ-aminobutyrate levels in ripe tomato fruit and an increase in glutamate concentration. Glutamate is the most abundant amino acid in mature tomato fruit, playing a critical role in flavor development. Its high concentration contributes to the umami taste, which is a major component of the sensory profile of ripe tomatoes26. The ripening process has been shown to significantly elevate glutamate levels27. This increase in glutamate concentration is attributed to a reduction in the activity of glutamate decarboxylase, which normally converts glutamate into γ-aminobutyrate and carbon dioxide, and an enhanced activity of GABA transaminase in mature fruit26.

Multivariate analyses reveal distinct metabolic profiles between polar extracts of mature and immature fruits. In the unsupervised PCA model (Fig. 3A), the first two principal components collectively captured 70.4% of the total variance. Similarly, the supervised PLS-DA model (Fig. 3B), used to maximize class discrimination, showed that Component 1 and Component 2 accounted for 45.2% and 24.6% of the variance, respectively, confirming the distinct grouping between the two maturity stages. Also, Hierarchical clustering (Fig. 3C) further confirmed this differentiation. The PLS-DA biplot highlighted several metabolites that contributed significantly to the discrimination between groups along component 1. Among these, sucrose, phenylalanine, fructose, glucose, erythritol, betaine, and pyroglutamate were identified as key variables driving the separation, indicating their potential role in differentiating the metabolic profiles.

Fig. 3
figure 3

Statistical analysis of metabolomic differences between immature and mature B. aegyptiaca fruits. (A) 2D score plot of PCA showing clear separation between immature and mature fruit samples; ellipses represent 95% Hotelling’s confidence intervals, (B) PLS-DA biplot, (C) HCA dendrogram and (D) volcano plot identifying significantly different metabolites (Mature/Immature); the five most significant metabolites are labelled.

Furthermore, the volcano plot (Fig. 3D) was generated to identify potential biomarkers by integrating fold-change analysis and statistical significance (p value), with several metabolites meeting the thresholds (|log2FC|> 1, p < 0.05). This approach enables the identification of metabolites that are not only statistically significant but also biologically relevant to the maturation process. A total of 24 metabolites were upregulated and 20 were downregulated during fruit maturation. The box plots (Fig. 4) generated based on the volcano plot analysis show the relative concentrations of the most significant metabolites.

Fig. 4
figure 4

Boxplots of relative concentrations of the metabolites in polar extracts from mature and immature fruit (the 24 most significant metabolites selected from Volcano plot analysis). The black dots represent the concentration of the selected metabolite in each replicate. The mean concentration of each treatment is indicated by the yellow diamond. The Y axis defines the relative abundances of the specific metabolite, and the X axis defines the treatment group.

The box plots show a higher concentration of sucrose coupled with a lower concentration of monosaccharides in immature fruit compared to mature fruit indicating the accumulation of simple sugars and a change in metabolism during ripening. This plays a role in enhancing the sweetness and flavor of the fruit28. The increase in monosaccharides and decrease in disaccharides in mature fruit is attributed to increased activity of hydrolytic enzymes, such as invertase and amylase. These enzymes exhibit higher activity in ripe compared to unripe fruit29,30. Erythritol is a sugar alcohol known for its pleasant sweetness, utilized as a sweetener in calorie-reduced foods31. This metabolite is characterized by several biological activities, including antidiabetic and antioxidant properties, and it can reduce plaque and potentially prevent decay of teeth32,33.

Phenylalanine, a precursor in the phenylpropanoid pathway, plays a critical role in synthesizing secondary metabolites and defense-related compounds in pear fruit34. It has been also identified as a key contributor to the volatile aroma in plants35,36. Betaine has a role in maintaining the osmotic balance and protecting the cellular structure during stress conditions37. Earlier studies have demonstrated that betaine affects the antioxidant and membrane fatty acid metabolism of fruits and vegetables to mitigate abiotic stress damage38. It has been reported to improve the flavor quality of peach fruit39.

Based on box plot analysis, the relative quantities of amino acids arginine, proline, phenylalanine, and homoserine, were higher in immature fruit compared to mature fruit. Amino acids serve as building blocks of proteins and precursors for various secondary metabolites which are necessary for fruit maturation and protection under stress conditions. Arginine plays a crucial role in both plant development and stress tolerance. As a nitrogen-rich amino acid, arginine serves as a key nitrogen storage molecule and a precursor for polyamines, which are essential for plant growth and fruit ripening40. It also contributes to abiotic stress responses as a precursor of polyamines and nitric oxide, which help to stabilize membranes, and to enhance the antioxidant defense mechanisms under drought, salinity, and oxidative stresses40,41. Proline is known for its role in osmoprotection in mitigating abiotic stresses such as drought and high temperatures common in arid regions42. Phenylalanine serves as a pivotal precursor in the biosynthesis of various aroma compounds in fruits through the phenylpropanoid pathway. This pathway leads to the formation of volatile phenylpropanoids which contribute to the characteristic floral and fruity aromas of many fruits35.

Herein, the concentrations of organic acids citrate and malate, were found to be higher in immature fruit. Citrate and malate have been identified as the predominant organic acids in a variety of fruits43,44. Citric acid and malic acid are known to accumulate in larger concentrations in immature fruit and serve as respiratory substrates throughout fruit ripening. Consequently, their concentrations decrease during the last stages of fruit maturation45. Passion fruit exhibited the highest levels of citric acid during its immature stage, which decreased as the fruit matured46. During grape ripening, malate released from the vacuole plays a pivotal role as the primary carbon source for energy metabolism and biosynthesis, replacing sugars.

The increased concentrations of theophylline and trigonelline in immature fruit in the present study are consistent with the findings of Pereira et al.30, who observed a reduction in alkaloid levels with fruit development. According to Koshiro et al.47, trigonelline exhibited more biosynthetic activity in young fruit. As the fruit matures, trigonelline is transported from the outer layer to the seeds. This process explains the drop in trigonelline concentration observed in mature fruit. Alkaloids are known to play a significant role in plant defense mechanisms by deterring herbivores and inhibiting microbial growth, which is particularly important during the vulnerable early stages of fruit development48.

Metabolic pathway changes during fruit maturation

Significant alterations in metabolic pathways during the ripening of B. aegyptiaca fruit are illustrated in Fig. 5. During the transition from the immature to the mature stage, a total of thirty-nine metabolic pathways exhibited significant changes based on the pathway analysis (Table 2). Starch and sucrose metabolism, pyruvate metabolism, and the citrate cycle (TCA) pathways had particularly strong impacts between mature and immature fruit. The relationship between the significant metabolic pathways and the significant metabolites is shown in Fig. 6. The starch–sucrose metabolism pathway is of great importance among the many metabolic pathways involved in fruit ripening. This pathway controls the process of converting starch into sucrose and then to the monosaccharides glucose and fructose, which are crucial for the taste, sweet flavor, and overall fruit quality49,50. Moreover, the starch–sucrose metabolism pathway is intricately linked to sugar signaling mechanisms that regulate gene expression and enzymatic activities during fruit ripening51,52. Sugar signals can induce the expression of ethylene biosynthesis genes, thereby enhancing the ripening process52.

Fig. 5
figure 5

Metabolic pathways in B. aegyptiaca that are significantly altered between mature and immature fruit based on KEGG database (www.kegg.jp/kegg/kegg1.html). The dark red circles indicate the pathways that were significantly affected. As the p value increases, the color progressively fades, whereas the larger the circle size, the greater the pathway’s influence.

Table 2 Pathway analysis depicting significantly altered metabolic pathways in Balanites aegyptiaca fruit extracts.
Fig. 6
figure 6

Metabolic pathways that significantly changed (in green ovals) as well as the significant metabolites (in pink squars) that changed between immature and mature B. aegyptiaca fruits.

The pyruvate metabolism pathway plays a central role in fruit maturity. As an end-product of glycolysis, pyruvate fuels the TCA cycle for ATP generation and organic acid metabolism, influencing fruit flavor. It also serves as a precursor for amino acids. Pyruvate serves as a precursor of acetaldehyde by the enzyme pyruvate decarboxylase, a natural aromatic component found in nearly all fruits, which accumulates throughout ripening. Acetaldehyde is a precursor to other naturally aromatic compounds49. Moyano et al.50 investigated the roles of two pyruvate decarboxylase genes (Fapdc1 and Fapdc3) in strawberry fruits. The former was reported as crucial for fruit ripening and aroma biosynthesis, while the latter is implicated in overall metabolism to facilitate energy production and the biosynthesis of more complex metabolites.

The TCA cycle is a key metabolic pathway responsible for the production of organic acids and secondary metabolites that contribute to the color, taste, and flavor of mature fruit compared to immature fruit. The use of TCA flow in energy production or metabolite biosynthesis is determined by the cell’s energy needs and physiological state53,54,55. According to a study by Tao et al.56 and Li et al.57, the TCA cycle was the predominant pathway involved in the maturation process of apple and blueberry fruit.

Cytotoxic activity of the fruit extracts against hepatocellular carcinoma

The results showed that the polar extracts of immature fruit exhibited better cytotoxic activity against hepatocellular carcinoma compared to the mature fruit, with IC50 values of 117.7 µg/mL and 270.4 µg/mL, respectively (Figs. 7 and S7). The IC50 value for the positive control, paclitaxel, was 0.15 µg/mL. Fig. S6 illustrates the morphological characteristics of cells observed under inverted microscopy. Untreated control cells exhibit a dense, compact, and well-organized structure, indicative of typical carcinoma morphology. In contrast, cells treated with paclitaxel show pronounced cytotoxic effects, including cell shrinkage, structural distortion, and markedly reduced cell density. Exposure to the polar extract of immature fruits results in significant morphological alterations, characterized by considerable structural disruption and a decrease in cell density. In comparison, cells treated with the polar extract of mature fruits lower levels of cytotoxicity, indicating a reduced antiproliferative effect relative to the immature fruit extract.

Fig. 7
figure 7

IC50 values show the effect of B. aegyptiaca fruit extracts on cell viability of hepatocellular carcinoma.

The extracts from both developmental phases are rich in bioactive metabolites with well-documented roles in cancer treatment, such as theophylline58, trigonelline59,60, phenylalanine61, histamine62, arginine63, and d-pinitol64,65. We propose that the pronounced cytotoxic effects of the polar extract obtained from immature fruit, compared to the extract derived from mature fruit, are due to the higher concentrations of these metabolites in immature fruit. Moreover, the extract of immature fruit showed the presence of fifteen metabolites, many of which are well known to possess biological activities. For example, syringate has anti-inflammatory, antioxidant, and antimicrobial activities66.

In silico study

The molecular docking study demonstrated that 29 metabolites from B. aegyptiaca fruit extracts interacted with the BCL-2 protein (PDB ID: 4LVT), supporting their potential cytotoxic activity. The binding poses of some compounds are visualized in Fig. 8. Theophylline exhibited the highest docking score (− 5.317 kcal/mol), forming hydrogen bonds with ASN 140 and ARG 143 (Table S1), consistent with its pro-apoptotic effects67. Phenylalanine, detected in immature extracts, scored − 4.657 kcal/mol with a hydrogen bond to ALA 97, potentially contributing to cytotoxicity via dipeptide derivatives. Trigonelline (− 4.652 kcal/mol) formed a hydrogen bond with ASN 140, a salt bridge with ARG 143, and a π–cation interaction with TYR 105, aligning with its anticancer properties59,60. Histamine (− 4.649 kcal/mol), also in immature extracts, formed a hydrogen bond with GLU 149, suggesting receptor-mediated anticancer effects68. Other compounds, such as asparagine (− 2.992 kcal/mol), may influence cancer cell survival69. These findings highlight the superior bioactivity of immature fruit extracts compared to mature extracts.

Fig. 8
figure 8

Binding modes of top compounds from B. aegyptiaca fruit extracts against BCL-2 protein: (a) theophylline (both immature and mature), (b) phenylalanine (immature), (c) trigonelline (both immature and mature), (d) histamine (immature).

The integration of metabolomics, in vitro cytotoxicity assays, and in silico molecular docking provides a powerful, multi-layered approach to understanding the therapeutic potential of B. aegyptiaca fruits. This study moves beyond merely cataloging the chemical constituents to functionally connecting them with biological activity. First, the identification of distinct metabolic profiles of immature and mature fruits established a chemical basis for their differential effects. The subsequent cytotoxicity assays confirmed that the higher concentration of certain alkaloids, organic acids, and amino acids in immature fruits correlates with enhanced anticancer efficacy. The in silico docking analysis provides crucial mechanistic insight, suggesting that these specific metabolites can directly interact with and inhibit key anti-apoptotic proteins like BCL-2. This synergistic approach, linking chemical composition to cellular effect and then to molecular target interaction, validates the superior therapeutic potential of immature fruits and provides a robust framework for future drug discovery efforts based on these natural products.

Conclusion

This study presents the first in-depth metabolomic investigation of B. aegyptiaca fruit maturation using advanced 1D and 2D NMR data, leading to the identification of 45 metabolites and significant metabolic transitions. Multivariate statistical analysis revealed clear metabolic differences between immature and mature stages. Key metabolites that characterized each stage were successfully identified. Immature fruits were characterized by elevated levels of sucrose, pinitol, malate, and citrate, whereas mature fruits showed an increase in monosaccharides and pyruvate, reflecting a metabolic shift favoring sugar hydrolysis and organic acid utilization. Pathway analyses highlighted key alterations in starch–sucrose and pyruvate metabolism, offering insights into biochemical adaptations in desert-adapted species. Notably, immature fruit extracts demonstrated higher cytotoxic activity against hepatocellular carcinoma than mature fruit. Molecular docking confirmed the interactions of some of the identified metabolites with the anti-apoptotic BCL-2 protein, supporting their apoptotic potential.