Introduction

Since ancient times, natural medicine has been used to cure a variety of illnesses. Initially, medicinal plants were utilized instinctively, taking inspiration from the behaviour of animals, as there was little knowledge about the causes of illnesses, the characteristics of plants, and their therapeutic applications. Natural remedies are becoming increasingly important because of the many benefits provided by their bioactive components. Furthermore, for many years, conventional plant-based medicines have been proven crucial for the treatment of a wide range of illnesses1.

Lamiaceae (Mint family) is the sixth-largest angiosperm family and includes a diverse group of fragrant and medicinal plants. Lamiaceae and Labiatae are flowering plant families. Species of the genus Salvia constitute the largest genus of Lamiaceae family. Rosmarinus officinalis L. (Salvia rosmarinus Spenn., an isonym of Salvia rosmarinus Schleid is an aromatic evergreen shrub belonging to the Lamiaceae family. In a recent evolutionary analysis, the genera Salvia and Rosmarinus were combined to become Salvia Rosmarinus2.

R. officinalis (Rosemary) grows naturally in dry scrubs and rocky terrain in the Mediterranean regions of southern Europe and western Asia. Owing to its medicinal qualities, rosemary is used in traditional medicine as an oral preparation to treat dysmenorrhea, muscular spasms, and renal colic3. In Saudi Arabia’s desert villages, R. officinalis grows wild and is frequently used in traditional medicine4. R. officinalis leaves have been acknowledged as a basic material. The leaf extracts of R. officinalis contain flavonoids such as luteolin, nepetin, nepitrin, and apigenin), as well as phenolic acids (e.g., caffeic acid, betulinic acid, ursolic acid, carnosic acid and caffeic acid)5.

The biological activities of R. officinalis’s secondary metabolites and extracts have been documented in studies examining a range of effects, including heart remodeling following myocardial infarction, body weight fluctuations, dyslipidemia, cerebral ischemia, hepato-nephrotoxicity, stress, anxiety, as well as antioxidant, antitumor, anti-infectious, anti-inflammatory, and analgesic properties6. Prior phytochemical studies of R. officinalis have focused on the antifungal properties of its essential oil (EO)2. In a recent study, the methanolic extract of S. rosmarinus leaves exhibited significant growth inhibition at a concentration of 300 µg/mL against three fungal isolates obtained from symptomatic strawberry plants, Botrytis cinerea (OR116486), Fusarium oxysporum (OR116505), and Rhizoctonia solani (OR116525)6. In addition to antifungal effects, R. officinalis extracts exhibit strong antioxidant properties, attributed mainly to rosmarinic acid, a polyphenol identified in the leaf extractas it was documented from R. officinalis leaf extracts isolated from Northern Riyadh, Saudi Arabia7. Recent studies have also revealed the antiproliferative and cytotoxic effects of R. officinalis EO against Jurkat, MCF-7, HT-29, and HeLa7. Antidiabetic effects of R. officinalis have also been reported, demonstrating its therapeutic potential in managing diabetes-related complications8.

Molecular docking is a frequently used computational approach for predicting the interactions between bioactive compounds and their potential target proteins. This method is particularly valuable for evaluating plant extracts by identifying compounds interacting with specific molecular targets associated with various disease9. Molecular docking plays a crucial role in facilitating virtual screening, empowering researchers to systematically rank compounds for further experimental validation while simultaneously enhancing their understanding of the underlying mechanisms of these molecules10. Molecular docking can identify compounds in R. officinalis leaf essential oil (ROLEO) and R. officinalis leaf methanolic extracts (ROLME) that bind strongly to key therapeutic targets, including enzymes involved in cancer proliferation (e.g., caspase-3), bacterial survival (e.g., DNA gyrase B), and diabetes (e.g., α-amylase)11. By analyzing binding scores, hydrogen bonding, and hydrophobic interactions, researchers can estimate the potential pharmacological effects associated with specific chemicals in the extracts12,13.

Pharmacokinetics refers to the examination of how a substance is absorbed, distributed, metabolized, excreted, and its potential toxicity (ADMET) within the organism14. The ADMET profiles of individual chemicals within plant extracts may be estimated using in silico methods that assess various parameters, including oral bioavailability, the capacity to penetrate the blood–brain barrier, and metabolic stability15. Essential parameters including molecular weight, lipophilicity (logP), the presence of hydrogen bond donors and acceptors, as well as polar surface area, are employed to evaluate whether these compounds adhere to Lipinski’s rule of five, a guideline that forecasts drug-likeness16. The combination of molecular docking and pharmacokinetic predictions offers comprehensive insights into the potential of plant-derived pharmaceuticals, guiding subsequent in vitro and in vivo investigations17.

Although earlier research has extensively investigated the cytotoxic and antibacterial properties of ROLEO, a comparison of its antimicrobial, antioxidant, and anticancer properties with those of ROLME has not been carried out. In this study, we used gas chromatography-mass spectrometry (GC–MS) analysis to determine which bioactive elements were most prevalent in ROLEO and ROLME. Using 1,1-diphenyl-2-picryl hydrazyl (DPPH) scavenging and 2,2′-azino-bis (3-ethylbenzothiazoline-6-sulfonic acid) (ABTS) assays, we assessed the phytochemical composition and antioxidant properties of ROLEO in comparison to ROLME. In addition, we aimed to evaluate the possible effects of ROLEO in comparison to ROLME against MCF-7 breast cancer cells and hepatocellular carcinoma (HepG2) cells, as well as to clarify the underlying mechanism using reverse transcription polymerase chain reaction (RT-PCR)-based mRNA expression profiles of particular pro- and anti-apoptosis marker genes. Evaluation of the antidiabetic activity of ROLEO and ROLME will focus on α-amylase and α-glucosidase. ROLEO and ROLME’s antibacterial effectiveness against gram-positive and gram-negative bacteria was examined using the minimum inhibitory concentration (MIC) and minimum bactericidal concentration (MBC) methods. This research yields novel insights into the pharmacological potential of R. officinalis, particularly its ability to induce apoptosis in cancer cell lines and its robust antibacterial, antioxidant, and antidiabetic properties.

Results

Extraction yields

The extraction yield, calculated based on dry matter weight (w/w), demonstrated that the ROLME extraction process achieved a yield of 30.87 ± 3.24%Meanwhile, the ROLEO extraction process a lower yield of 3.74 ± 0.75% (v/w).

Chemical composition of ROLEO and ROLME

GC–MS was used to examine the bioactive elements, ROLEO and ROLME. Seventy-three peaks were recorded for the bioactive components of ROLEO, which were identified by comparing their peak retention time (RT), peak area (%), molecular formula (MF), and molecular weight (MW) with those of known compounds listed in the NIST library. Phenol, 2-methyl-5-(1-methylethyl), was the main component of ROLEO, accounting for 42.52% of the total. p-Cymene (6.48%), bicyclo [3.1.0] hexan-3-one, 4-methyl-1-(1-methylethyl)-, [1S-(1α,4β,5α)] (5.72%), and ( +)-2-Bornanone (4.94%) (Table 1 and Fig. 1). However, the findings showed that tetrahydropyranylethylene glycol, accounting for 21.33% of the total, was the primary compound in ROLME. The compounds that followed were Bergamotol, Z-α-trans-(14.91%), and Benzofran-3-one, 2-[3,4-dihydroxybenzylidene]-6-hydroxy-(21.02%) (Table 2 and Fig. 2).

Table 1 GC–MS compounds in ROLEO.
Fig. 1
figure 1

The GC–MS chromatograms of ROLEO. All spectral peaks correlate with identified chemicals, with a big peak indicating the primary constituent of the extract.

Table 2 GC–MS compounds in ROLME.
Fig. 2
figure 2

The GC–MS chromatograms of ROLME. A prominent peak in the spectrum indicates the major component of the extract, and every peak that is seen corresponds to a recognized chemical.

Total phenolic content (TPC) and total flavonoid content (TFC) of ROLEO and ROLME

The findings revealed that the ROLEO had a higher total phenolic content (TPC) of 49.34 ± 2.84 mg GAE/g of dry extract (R2 = 0.994) compared to ROLME, which had a TPC of 38.13 ± 3.31 mg GAE/g of dry extract (R2 = 0.911). Additionally, the total flavonoid content (TFC) for ROLEO was 24 ± 1.47 mg QE/g of dry extract (R2 = 0.935), while ROLME had a TFC of 19 ± 1.47 mg QE/g of dry extract (R2 = 0.899).

DPPH and ABTS radical scavenging activity

DPPH and ABTS radical scavenging assays were used to compare the antioxidant activities of ROLEO and ROLME, with ascorbic acid as the positive control (Fig. 3). At high ROLEO and ROLME concentrations, both DPPH and ABTS assays demonstrated greater antioxidant activity. However, compared to the positive control (IC50 value: 28.11 ± 1.14 μg/mL), ROLEO and ROLME were less effective (P < 0.05). The DPPH scavenger effect of ROLEO (IC50 value: 93.41 ± 17.15 μg/mL) was found to be much higher (P < 0.05) than that of ROLME with an IC50 value of 172.42 ± 1.24 μg/mL). Similarly, ROLEO (IC50 value: 90.71 ± 2.15 μg/mL) exhibited significant (P < 0.05) antioxidant activity against the ABTS free radical than ROLME (IC50 value: 163.11 ± 2.12 μg/mL).

Fig. 3
figure 3

Antioxidant activity of ROLEO and ROLME (A), DPPH reducing power and (B), ABTS•( +) scavenging activity) at various concentrations (50–400 μg/mL). An ascorbic acid (250 µg/mL) was used as a positive control. The results are the mean ± SD of three different experiments. The scavenging activity of ROLEO and ROLME was significantly lower (*) than the positive control at a significance level of P < 0.05. • + = radical cation.

Cell cytotoxicity

The anticancer efficacy of ROLEO and ROLME against MCF-7 and HepG2 cells was examined using an MTT assay. MTT assay revealed that ROLEO and ROLME reduced the viability of MCF-10A, MCF-7, and HepG2 cells in a dose-dependent manner. Remarkably, ROLEO and ROLME showed good anticancer activity against MCF-7 and HepG2 cells compared with the positive control (cisplatin 30 µg/mL). ROLEO appeared to be more effective with IC50 values of 156.12 ± 0.94 μg/mL and 125.82 ± 2.14 μg/mL, respectively than ROLME in both tested MCF-7 and HepG2 cells, with IC50 values of 348.12 ± 1.34 μg/mL and 241.95 ± 1.14 μg/mL, respectively, these results were milder than standard drug IC50 values, which were 29.32 ± 2.15 and 22.42 ± 1.34 μg/mL, respectively. Nevertheless, neither ROLEO nor ROLME significantly impacted the normal human epithelial breast cell line MCF-10A (Fig. 4A,B).

Fig. 4
figure 4

The effect of ROLEO (A) and ROLME (B) on the viability of MCF-10A, MCF-7, and HepG2 cells using the MTT assay. Cells were treated with ROLEO and ROLME (0–400 μg/mL) for 24 h. Mean ± SD is presented from three independent experiments; the positive control was (cisplatin 30 µg/mL). (* = P < 0.05 compared to non-treated cells (negative control)).

Apoptotic analysis

Figure 5 shows the effect of ROLEO and ROLME on the activity of anti-apoptotic genes (Bcl-xL and Bcl-2) and apoptotic genes (caspase-3, 8, 9, and Bax). MCF-7 and HepG2 cells treated with ROLEO and ROLME exhibited significant upregulation of apoptotic gene activity compared to untreated control and anti-apoptotic genes (P < 0.05). Caspases-3, -8, -9, and Bax were found to be more highly expressed in MCF-7 and HepG2 cells than in ROLEO cells. MCF-7 and HepG2 cells treated with ROLEO and ROLME had a lower expression of anti-apoptotic genes (Bcl-xL and Bcl-2) than the untreated control group (P < 0.05). In contrast, ROLEO and ROLME had no significant impact on the expression of anti-apoptotic genes (Bcl-xL and Bcl-2) or apoptotic genes (caspases-3, -8, -9, and Bax) in MCF-10A cells compared to the untreated control cells (Fig. 5A and B).

Fig. 5
figure 5

Effect of ROLEO (A) and ROLME (B) on MCF-10A, MCF-7, and HepG2 cell lines and analysis of pro- and genes caspase-3, -8 and -9, and Bax), and anti-apoptosis marker (Bcl-2 and Bcl-Xl) genes. Cells were exposed to 100 μg/mL of ROLEO and ROLME for 48 h. Gene expression is represented as the mean ± SD of three independent experiments, (* = P < 0.05 compared to non-treated cells (control)).

Morphological changes in cells

To visualize and assess the morphological changes induced by ROLEO and ROLME in MCF-7, HepG2, and MCF-10A cell lines, cells were treated with 100 μg/mL of either ROLEO and ROLME and incubated for 48 h under a controlled condition (37 °C, 5% CO2, 95% air) in a humidified incubator. The changes were then visualized using an inverted microscope (Eclipse TS100, Nikon, Japan). Compared to untreated-MCF-7 and HepG2 cells (negative control) (Fig. 6A,E) and MCF-10A cells treated with the positive control (ribavirin) (Fig. 6B,F), MCF-7 and HepG2 cells treated with ROLEO exhibited more pronounced morphological changes, including cell rounding, the formation of small aggregates, and progressive detachment (Fig. 6C,G), compared to those treated with ROLME (Fig. 6D,H). In contrast, the morphology of MCF-10A cells treated with ROLEO (Fig. 6K) or ROLME (Fig. 6L) resembled that of the untreated MCF-10A cells (negative control) and those treated with ribavirin (positive control) (Fig. 6I,J). This observation suggests that ROLEO has a strong inhibitory effect.

Fig. 6
figure 6

The effect of ROLEO and ROLME on the MCF-7, HepG2, and MCF-10A cells morphology. Cells were exposed to 100 μg/mL of ROLEO and ROLME for 48 h. (A) represents MCF-7 non-treated cells, (B) represents MCF-7-treated cells with positive control (cisplatin 30 µg/mL), (C) represents MCF-7 -treated cells with ROLEO, (D) represents MCF-7 -treated cells with ROLME, (E) represents HepG2 non-treated cells, (F) = represents HepG2-treated cells with positive control (cisplatin 30 µg/mL), (G) represents HepG2-treated cells with ROLEO, (H) represents HepG2-treated cells with ROLME, (I) represents MCF-10A non-treated cells, (J) = represents MCF-10A -treated cells with positive control (cisplatin 30 µg/mL), (K) represents MCF-10A -treated cells with ROLEO , (L) represents MCF-10A -treated cells with ROLME. (Magnification power 10X).

In vitro α-amylase and α-glucosidase inhibition activities

In vitro α-amylase and α-glucosidase inhibitory assays were used to assess the antidiabetic potential of ROLEO and ROLME, and their IC50 values were determined. In comparison to acarbose, ROLEO showed a considerable inhibitory action against α-amylase and α-glucosidase (IC50 = 174 ± 2.14 μg/mL and 156.62 ± 1.23 μg/mL, respectively) (Fig. 7A), whereas ROLME inhibited α-amylase (IC50 = 243 ± 0.24 μg/mL), α-glucosidase (IC50 = 216.62 ± 0.22 μg/mL) (Fig. 7B). The standard drug, acarbose showed inhibitory efficacy against α-amylase (IC50 = 24.45 ± 0.108 μg/mL) and α-glucosidase (IC50 = 18.52 ± 1.98 μg/mL).

Fig. 7
figure 7

Effect of ROLEO (A) and ROLME (B) on α-Amylase and α-glucosidase inhibitory activities at various concentrations (25–400 μg/mL). The results are the mean values of three replicates. The results are the mean ± SD of three experiments (* = P < 0.05 compared to the positive control).

Antibacterial effects of ROLEO and ROLME

The antibacterial activity was evaluated by using the disc diffusion technique, which showed that ROLEO and ROLME inhibited the bacterial growth of all tested bacteria in a dose-dependent manner compared to the controls. The results shown in Tables 3 and 4 indicate that the ROLEO (MIC values = 4.68 ± 2.21—25 ± 0.00 μg/mL) had more antibacterial activity in comparison to the ROLME (MIC values = 12.50 ± 0.00—25 ± 0.00 μg/mL). Importantly, Gram-positive bacteria were more susceptible to ROLEO than Gram-negative bacteria (Tables 3 and 4).

Table 3 The inhibitory zone (mm), MIC (μg/mL), and MBC (μg/mL) of ROLEO.
Table 4 The inhibitory zone (mm), MIC (μg/mL), and MBC (μg/mL) of ROLME.

Molecular docking analysis of ROLEO and ROLME

The inhibition of α-amylase is a key therapeutic strategy in controlling postprandial blood glucose surges in diabetic patients. Molecular docking results revealed that the antidiabetic activity of ROLEO against α-amylase was driven by three potent inhibitore: 1H-Cycloprop[e]azulen-4-ol, decahydro-1,1,4,7-tetramethyl-, [1ar-(1aalpha,4beta,4abeta,7alpha,7abeta,7balpha)]-, Thymol, and Phenol, 2-methyl-5-(1-methylethyl)- with glide scores of − 5.043, − 4.754, and − 4.692 kcal/mol respectively. While the activity of ROMEO showed its strongest antidiabetic activity through Benzofran-3-one, 2-[3,4-dihydroxybenzylidene]-6-hydroxy-, Bisabolol oxide B, and Verbenone with a glide gscore of − 6.149, − 4.957, and − 4.762 kcal/mol respectively (Table 5).

Table 5 Docking results of ROLEO and ROMEO in different receptors.

The activation of caspase-3 plays a crucial role in anticancer activity as it disrupts the apoptotic pathways that cancer cells often exploit to evade programmed cell death. Caspase-3 is a key executioner enzyme in apoptosis, responsible for cleaving specific cellular substrates, leading to cell dismantling and death.

The molecular docking analysis of anticancer compounds in ROLEO identified two potent caspase-3 inhibitors: Thymol, Bicyclo[3.1.0]hexan-3-one, 4-methyl-1-(1-methylethyl), and Phenol, 2-methyl-5-(1-methylethyl), with glide scores of − 5.458, − 5.190, and − 4.680 kcal/mol. While the anticancer activity of ROMEO against caspase-3 revealed that that 4H-Pyran-4-one, 2,3-dihydro-3,5-dihydroxy-6-methyl-, Benzofran-3-one, 2-[3,4-dihydroxybenzylidene]-6-hydroxy-, and Verbenone were the most active molecules with a glide gscore of − 5.989, − 5.847, and − 5.606 kcal/mol (Table 5).

The antibacterial activity of ROLEO was analyzed against E. coli gyrase B demonstrated strong inhibitory effects, with Thymol, Benzene, 2-methoxy-1-methyl-4-(1-methylethyl)-, and Phenol, 2-methyl-5-(1-methylethyl)- with a glide gscore of − 5.783, − 5.725, and − 5.573 kcal/mol. While in the inhibition of ROMEO to E. coli gyrase B was through Benzofran-3-one, 2-[3,4-dihydroxybenzylidene]-6-hydroxy-, 1,6-Dioxaspiro [4.4]non-3-ene, 2-(2,4-hexadiynylidene)-, (S)-2,2,6-Trimethyl-6-((S)-4-methylcyclohex-3-en-1-yl)dihydro-2H-pyran-3(4H)-one with a glide gscore of − 7.231, − 6.174, and − 5.766 kcal/mol (Table 5).

The 2D and 3D interaction between the compounds identified in ROLEO and the different active sites showed that 1H-Cycloprop[e]azulen-4-ol, decahydro-1,1,4,7-tetramethyl-, [1ar-(1aalpha,4beta,4abeta,7alpha,7abeta,7balpha)]- established a single hydrogen bond with the ASP 300 residue in the active site of α-amylase (Figs. 8A and 9A). In addition, thymol established a single hydrogen bond with the SER B 205 residue in the active site of caspase-3 (Figs. 8B and 9B). This molecule established a single Pi-cation type bond in the active site of E. coli gyrase B (Figs. 8C and 9C).

Fig. 8
figure 8

The 2D viewer of ligands interactions with the active site. (A): 21H-Cycloprop[e]azulen-4-ol, decahydro-1,1,4,7-tetramethyl-, [1ar-(1aalpha,4beta,4abeta,7alpha,7abeta,7balpha)]- interactions with the active site of α-amylase. (B and C): Thymol interactions with caspase-3 and E. coli gyrase B active sites. (D and F): Benzofran-3-one, 2-[3,4-dihydroxybenzylidene]-6-hydroxy- interactions with the active sites of α-amylase and E. coli gyrase B. (E): 4H-Pyran-4-one, 2,3-dihydro-3,5-dihydroxy-6-methyl- interaction with the active site of caspase-3.

Fig. 9
figure 9

The 3D viewer of ligands interactions with the active site. (A): 21H-Cycloprop[e]azulen-4-ol, decahydro-1,1,4,7-tetramethyl-, [1ar-(1aalpha,4beta,4abeta,7alpha,7abeta,7balpha)]-interactions with the active site of α-amylase. (B and C): Thymol interactions with caspase-3 and E. coli gyrase B active sites. (D and F): Benzofran-3-one, 2-[3,4-dihydroxybenzylidene]-6-hydroxy- interactions with the active sites of α-amylase and E. coli gyrase B. (E): 4H-Pyran-4-one, 2,3-dihydro-3,5-dihydroxy-6-methyl- interaction with the active site of caspase-3.

Furthermore, the 2D and 3D interaction analysis between the compounds identified in ROLME and the different active sites revealed that Benzofran-3-one, 2-[3,4-dihydroxybenzylidene]-6-hydroxy- established three hydrogen bonds with residues ASP197, ASP 300, and GLN 63 and two Pi-Pi stacking bonds with residue TRP 59 (Figs. 8D and 9D). This molecule formed one hydrogen bond with residue ASP 73 and one Pi-cation bond with residue ARG 76 in the active site of E. coli gyrase B (Figs. 8F and 9F).

In the active site of caspase-3, 4H-Pyran-4-one, 2,3-dihydro-3,5-dihydroxy-6-methyl- established two hydrogen bonds with residues HIS A: 121 and CYS A: 163 and one salt bridge with residue ARG A: 64 (Figs. 8E and 9E).

Prediction of ADMET by computational analysis

All ROLEO and ROMEO molecules presented acceptable physicochemical and pharmacokinetic values. Thymol and 1H-Cycloprop[e]azulen-4-ol, decahydro-1,1,4,7-tetramethyl-, [1ar-(1α,4β,4aβ,7α,7aβ,7bα)]- which is among the most active ROLEO molecules against the proteins studied presented a molar mass of 150.22 and 222.37 g/mol and a total solvent accessible surface area of ​​391.249 and 458.88 radius, Predicted apparent Caco-2 cell permeability of 3835.969 and 5183.091 nm/s and a human oral percentage of 100% respectively (Table 6).

Table 6 ADMET prediction.

Benzofuran-3-one, 2-[3,4-dihydroxybenzylidene]-6-hydroxy- and 4H-Pyran-4-one, 2,3-dihydro-3,5-dihydroxy-6-methyl- which is among the most active ROMEO molecules against the proteins studied presented a molar mass of 270.241 and 144.127 g/mol and a Donor of hydrogen bonds < 5 and Acceptor of hydrogen bonds ≤ 10, Predicted blood–brain partition coefficient of − 1.21 and − 0.603 and a human oral percentage of 73.036 and 78.38% respectively (Table 6).

Discussion

R. officinalis is widely distributed, yet only a limited number of studies have been conducted on this speciesThis study utilized in vitro and in silico techniques to investigate and characterize the bioactive components found in ROLEO and ROLME. Our in vitro assays, which include antibacterial, antidiabetic, antioxidant, and anticancer testing, aid in determining the safety and effectiveness of the discovered compounds. Additionally, molecular docking and other in silico techniques were employedto investigate possible interactions with significant biological targets, facilitating a deeper comprehension of the molecular mechanisms underlying their impacts. This integrated approach, combining chemical profiling alongside biological and computational analysis, facilitates the discovery of promising chemicals and the differentiation between useful and potentially harmful substances.

This study investigated both ROLEO and ROLME, with the findings showing that ROLME extraction yield 30.87 ± 3.24%, as determined by dry matter weight (w/w), while ROLEO achieved a lower yield of 3.74 ± 0.75% (v/w). The yield differences of ROLME and ROLEO is contingent upon several factors, including the portion of the plant used, the drying method applied, the solvent concentration, the extraction process length, and additional processing variables. Extraction yields are generally expressed as a percentage of the plant’s dry weight, leading to a broad spectrum of bioactive substances, such as phenolic acids, flavonoids, and sesquiterpene lactones18. Several studies compared the use of different solvents in extracting different plant parts of R. officinalis. In this regard, a previous research effort demonstrated that the methanolic extraction of R. officinalis aerial parts achieved a yield of 30.87 ± 3.2%. In contrast, EO yields were found to be 1.14 ± 0.15 (v/w)19. In comparison to other studies, El Kamli et al. (2017) indicated that the yield values of EO from Moroccan rosemary ranged from 2.14% to 2.25% (v/w)20. Cutillas et al.21 revealed that the yield of EO extracted from the aerial parts of R. officinalis from Spain ranged from 0.8 to 1.1%. (v/w).

GC–MS examination of ROLEO revealed that the primary components were the phenol, 2-methyl-5-(1-methylethyl), p-Cymene (6.48%), bicyclo [3.1.0], hexan-3-one, 4-methyl-1-(1-methylethyl)-, [1S-(1α,4β,5α)], and ( +)-2-Bornanone. Whereas, 2-[3,4-dihydroxybenzylidene]-6-hydroxy, tetrahydropyranylethylene glycol, Bergamotol, Z-α-trans, and Benzofran-3-one were the main component of ROLME. Research conducted on the EO extracted from R. officinalis leaves identified 31 distinct compounds, which together represented 98.4% of the total oil content. The GC–MS analysis highlighted limonene (21.7%) and α-pinene (13.5%) as the primary hydrocarbons, while camphor (21.6%) and Z-linalool oxide (10.8%) were noted as the principal oxygenated monoterpenes22. A previous study using GC–MS analysis on the aerial parts of R. officinalis EO found 29 chemical components, and the main constituents were 1,8-cineole (43.77%), camphor (12.53%), and α-pinene (11.51%)23. A recent study on the spontaneous R. officinalis EO identified 31 compounds, which constitute 97.03% of the total composition, through GC–MS analysis, the primary constituents include camphor (41.22%) and 1,8-cineole (4.90%) classified as oxygenated monoterpenes, α-bisabolol (1.15%) categorized as a sesquiterpene, and amphene (18.14%) and α-pinene (17.49%) recognized as monoterpene hydrocarbons19. Tunisian rosemary is mainly composed of α-pinene (7.09–13.66%), camphene (3.09–5.07%), β-pinene (3.26–3.81%), cineole (46.8–57.88%), camphor (9.27–18.99%), and borneol (4.49–13.21%) using GC–MS analysis24. The biological effects of a number of these substances were previously studied. For example, carvacrol (2-methyl-5-(1-methyl ethyl) phenol) is a monoterpene phenol that is present in a variety of Lamiaceae species EOs25. Carvacrol has been demonstrated to have a wide range of biological effects, including antibacterial, antifungal, insecticidal, antioxidant, and anticancer properties26. p-cymene, also called p-cymol or p-isopropyltoluene, is an aromatic chemical with an alkyl substituent that is naturally found in the EOs of a variety of aromatic plants. The pharmacological characteristics of the monoterpene p-cymene, such as its antiviral, anticancer, antibacterial, antifungal, antioxidant, and antiparasitic effects, have been demonstrated in several studies27. In addition, p-cymene has been shown to p-cymene function as a neuroprotective, immunomodulatory, analgesic, and antinociceptive agent. Certain mechanisms, including apoptosis and cell cycle arrest prevention, are associated with its anticancer effects28.

Phenolic compounds are plant constituents with an aromatic ring featuring one or more hydroxyl groups. Approximately 8000 naturally occurring plant phenolics have been identified. Among these constituents are flavonoids, which represent a significant category of naturally occurring phenolic substances, existing both in their unbound form and as glycosides. Among the various subclasses of phenolics, flavonoids represent the most abundant and diverse category of phenolic compounds present in nature. These compounds exist in both free and glycoside forms across a range of plant tissues. The contribution of flavonoids to the enhancement of TPC and antioxidant potential in plants is illustrated by their occurrence in multiple plant structures29. R. officinalis is a rich source of phenolic compounds, and its properties are derived from its extracts and EOs. Both methods have been applied to medical conditions30. The measurements of total phenolic content (TPC) and total flavonoid content (TFC) for ROLEO and ROLMEdisclose vital information about their phytochemical attributes and potential bioactive functions. Using the Folin-Ciocalteu method, TPC for ROLEO was determined to be 49.34 ± 2.84 GAE/g dry weight of the dry while ROLME showed a TPC of 38.13 ± 3.31 GAE/g dry weight of the dry extract. Similarly, the AlCl₃ assays indicated values of 24 ± 1.47 mg QE/g dry weight of the dry extract for ROLEO and 19 ± 1.47 mg QE/g dry weight of the dry extract for ROLME. These results indicate that ROLEO is rich in phenolic and flavonoid compounds, reinforcing its potential as a natural source of antioxidants. However, contrary findings have been reported in the literature. A recent study showed that ROLME exhibited a higher TPC of 127.1 ± 2.40 µg GAE/mg extract compared to ROLEO, which has a TPC of 7.81 ± 0.41 µg GAE/g extract. Additionally, the TFC for ROLME was reported as 38.61 ± 0.75 μg QE/mg extract, while ROLEO exhibited a TFC of only 0.01 ± 0.00 μg QE/mg extract19. The concentration of these chemicals in the final extract is directly affected by both the intrinsic characteristics of the plants and external influences, such as pre-extraction processing and extraction conditions31,32. In various solvent extractions, the TPC value of rosemary leaves was 72.34 ± 4.9 GAE mg/g for ethanol extraction, 64.44 ± 6.6 GAE mg/g for methanol, 57.74 ± 7.9 GAE mg/g for acetone, 52.04 ± 3.8 GAE mg/g for ethyl acetate, 48.94 ± 5.5 GAE mg/g for water, 37.34 ± 6.9 GAE mg/g for diethyl ether, and EOs (9.9 ± 0.06 GAE mg/g)33. The TPC and TFC yields of R. officinalis aerial parts (flowering tops) methanol extract were 34.72 ± 1.65 mg GAE/g DM), and TFC (25.02 ± 1.53 mg QE/g DM, respectively34. The amount of (poly)phenolic chemicals in an acetone extract of dry rosemary leaves was 166.32 ± 11.05 mg/mL35. The chemical structure and redox characteristics of phenolic compounds enable them to function as hydrogen donors and reducing agents for transitional metals, scavenge free radicals, and inhibit lipoxygenase, which are the primary mechanisms underlying their antioxidant action36.

The DPPH and ABTS methods are the most commonly employed techniques for assessing antioxidant capacity, owing to their simplicity, rapidity, sensitivity, and the utilization of stable radicals37. The current findings indicated that ROLEO had a lower IC50 value (93.41 ± 17.15 μg/mL) and hence stronger antioxidant activity than ROLME, which had an IC50 value of 172.42 ± 1.24 μg/mL. Similarly, regarding the ABTS assay, the IC50 values for ROLEO and ROLME were 90.71 ± 2.15 μg/mL and 163.11 ± 2.12 μg/mL, respectively. Our findings agree with those of a previous study that reported that rosemary EO displayed a strong radical scavenging activity with IC50 values (3.53 ± 0.038 µL/mL) compared to that of the methanol extract, with IC50 values (11.741 ± 0.004 µg/mL)38. An early study revealed that the aerial parts of ROLEO have in vitro antioxidant activity and a comparatively significant ability to scavenge DPPH radicals, with an IC50 value of 77.6 μl/mL23. The ethanol extract of rosemary leaves had IC50 values of 40.76 ± 2.81 µg/mL for the DPPH assay and 70 ± 4.67 µg/mL for the ABTS technique39. The lower IC₅₀ value for ABTS in the ROLEO may indicate that ROLEO includes chemicals more effective in hydrogen donation than electron donation. The modest antioxidant activity of ROLEO can also be linked to the bioactive components discovered during GC–MS research, such as phenol, 2-methyl-5-(1-methylethyl), and p-Cymene, which have been shown to have antioxidant characteristics, contribute to the free radical scavenging activity demonstrated in this study. The mechanisms of action of these chemicals have been thoroughly investigated. Recent studies have indicated that the antioxidant activity of rosemary is attributable to its richness in isoprenoid quinones, which function as chain terminators of free radicals and chelators of reactive oxygen species (ROS)40. The phenolic compounds in the commercial rosemary extracts operate as the main antioxidants when interacting with lipid and hydroxyl radicals to transform them into stable products41. The methodologies used by DPPH and ABTS assays to test antioxidant activity were different. The DPPH assay relies on reducing a methanolic DPPH solution when an antioxidant donates hydrogen during the reaction, resulting in the formation of the non-radical form DPPH-H. The extract demonstrated the capability to convert the stable radical DPPH into the yellow-hued di-phenylpicrylhydrazine42. The ABTS radical cation method involves the generation of a nitrogen-centered synthetic radical cation through the oxidation of ABTS using potassium persulfate. An antioxidant component can donate an electron to convert the ABTS radical dot into its non-radical state43.

The MTT assay was used to examine the toxicity of ROLEO and ROLME in the human cancer cell lines MCF-7 and HepG2. The results indicate that ROLEO exhibited higher efficacy than ROLME in both the tested MCF-7 and HepG2 cells, with IC50 values of 156.12 ± 0.94 μg/mL in MCF-7 and 125.82 ± 2.14 μg/mL in HepG2, respectively. These findings indicate that ROLEO has a strong anticancer effectiveness, particularly in comparison to the positive control, cisplatin (30 μg/mL). In MCF-10A cells, the ROLEO or ROLME showed a slight effect on cell viability where cell viability was above 80%. The findings were consistent with an earlier study on Dorycnium pentaphyllum extract, which showed cell viability remained above 80%.On the other hand, no toxic effect was observed in MCF-12A cells after 48 and 72 h exposure to the extract44. Human mammary epithelial cell lines, such as MCF-10A, a non-malignant cells, are widely used as model systems in toxicology studies45, due to their morphological resemplance to normal, normal human mammary epithelial cells45. Similar to tumorigenic (MCF7), both non-tumorigenic (MCF 10A, MCF-12A) cells are both estrogen receptor-positive and progesterone receptor-positive46. However, MCF-12A is notably difficult to culture, making MCF-10A a more practical choice for representing normal human mammary epithelial cells in this study.

Currently, cisplatin is the preferred treatment for various cancers, including testicular, ovarian, bladder, prostate, cervical, and lung cancers. Cisplatin functions as an anticancer agent through several mechanisms. Its primary actions, which ultimately lead to cell death, include activating various signal transduction pathways, modulating different genes, and forming DNA–platinum adducts by interacting with purine bases. However, the side effects associated with cisplatin and the development of drug resistance are significant obstacles that hinder its use and effectiveness. Its interaction with glutathione and metallothioneins reduces its accumulation in cancer cells and promotes the repair of DNA lesions, which contributes to the resistance observed with cisplatin47. ROLEO showed stronger activity against HepG2 cells compared to MCF-7 cells, indicated by a lower IC₅₀ value. This may be related to its diverse phytochemical composition, particularly the presence of bioactive compounds. These compounds are recognized for their anticancer effects, which include reducing cancer cell growth, inducing apoptosis, and inhibiting angiogenesis. Similar findings have been reported in previous studies on the to cytotoxic effects of the rosemary extract on several cell lines. For instance, a preliminary examination showed that the ROLEO had an activity of 508.7 µg/ml against HepG2 cells and 525.7 µg/ml against ECV304 cells48. Another study revealed that the ROLEO exhibited the most significant cytotoxicity against SK-OV-3, HO-8910, and Bel-7402 cancer cells in comparison to its constituents, which include 1,8-cineole, α-pinene, and β-pinene. The IC50 values for the cancer cell lines treated with ROLEO were found to be 0.025‰, 0.076%, and 0.13‰ (v/v), respectively49. An early examination showed that crude ethanolic rosemary extract was effective in diminishing the growth of breast cancer cells, particularly in the MCF-7 (ER +) and MDA-MB-468 (TN) cell lines, with IC50 values of 90 µg/mL and 26.8 µg/mL, respectively50. Further studies have demonstrated that ROLEO was moderately cytotoxic to MCF-7 cells at a concentration of 800 µg/ml (IC50 = 47.39 ± 0.91)51. Đilas et al. (2012) reported that rosemary extracts had a significant antiproliferative effect (P ≤ 0.01) on cervix epitheloid carcinoma (HeLa), with an IC50 of 10.02 μg/mL, and on MCF-7, with an IC50 of 9.95 μg/mL52. Similarly, extracts of R. officinalis from Yemen showed marked cytotoxicity against two cancer cell lines, 5637 and MCF-7, with IC50 values lower than 50 μg/mL53. These findings highlight the potential use of ROLEO as a natural anticancer drug.

Apoptosis serves as the crucial mechanism for maintaining equilibrium between cellular proliferation and growth, thereby averting the risk of uncontrolled malignancy. Many anticancer agents facilitate the elimination of cancer cells by exploiting intact apoptotic signaling pathways54. The ability of ROLEO and ROLME to trigger apoptosis in MCF-7 and HepG2 cells was examined through RT-qPCR, which demonstrated significant alterations in both pro-apoptotic and anti-apoptotic gene expression. ROLEO and ROLME treatment increased apoptotic genes (caspase-3, -8, -9, and Bax) and decreased anti-apoptotic genes compared to untreated control cells. The elevation of caspases following exposure to ROLEO and ROLME suggests that the extract induces apoptosis mediated by caspases, leading to the demise of cancer cells. This illustrates that the apoptotic process induced by both therapies in cancer cells contributes to their deadly consequences55,56. EOs are known to suppress cell proliferation through various mechanism such as depolarization, increased membrane permeability, decreased activity of enzymes confined to the membrane, and induction of apoptosis 57. A previous study revealed that an ethanolic extract of R. officinalis at a concentration of 300 μg/mL stimulated the activation of caspase-3 and caspase-7 in the MG-63 human osteosarcoma cell line58. The primary phenolic ingredient in rosemary, rosmarinic acid, prevented the development of tumor spheroids and colony formation and decreased cell proliferation in a cell viability study.

Furthermore, rosmarinic acid increased apoptosis in PC-3 and DU145 cells by modulating the expression of genes related to the intrinsic mitochondrial apoptotic pathway, including Bax, Bcl-2, caspase-3, and poly (ADP-ribose) polymerase 1 (PARP-1) (cleaved). This was achieved by upregulating p53, which is derived from HDAC2 downregulation59. Our results support these findings, indicating that ROLEO and ROLME promote apoptosis in a dose-dependent manner by activating key apoptotic pathways, as evidenced by the increased expression of caspase-3, -8, -9, and Bax.The induction of apoptosis occurs through three main mechanisms: extrinsic pathways mediated by death receptors, intrinsic pathways involving mitochondria, and endoplasmic reticulum stress- (ERS)- dependent pathways which contribute to cell death signaling60. He activation of executioner caspases-3, -6, and -7 is significantly facilitated by caspase-8, which is a key component of the extrinsic pathway leading to apoptosis. In the context of the intrinsic pathway, caspases -3 and -7 are critical upstream mediators that initiate the apoptotic process. Studies have revealed that caspase-3 possesses both endogenous and exogenous apoptotic properties through its interactions with caspases-8 and -960. Anti-apoptotic genes, including Bcl2, inhibit apoptosis by maintaining the integrity of the mitochondrial membrane. Consequently, the ratio of Bax to Bcl2 is critical in determining sensitivity to apoptotic signals. The reduction of anti-apoptotic gene expression in both MCF-7 and HepG2 cell lines supports the hypothesis that ROLEO and ROLME interfere with the survival mechanisms of cancer cells, thereby increasing their susceptibility to apoptotic stimuli. The regulation of these pathways serves as an essential therapeutic technique in cancer management, as many cancer cells can resist apoptosis due to the overexpression of anti-apoptotic proteins, particularly Bcl-261. The findings indicate the potential therapeutic significance of ROLEO in cancer treatment, particularly as a natural anticancer agent that facilitates caspase-mediated apoptosis.

Numerous plants with enzyme-inhibiting properties have been investigated for their potential in diabetes treatment. Researchers are actively exploring new intestinal α-glucosidase and pancreatic α-amylase inhibitors derived from, plants that exhibit hypoglycemic effects with minimal to no adverse side effects62. The current study found that ROLEO had the best antidiabetic activity to inhibit α-amylase and α-glucosidase (IC50 values of 174 ± 2.14 μg/mL and 156.62 ± 1.23 μg/mL, respectively), in comparison to ROLME, which had IC50 values of 243 ± 0.24 μg/mL and α-glucosidase (IC50 = 216.62 ± 0.22 μg/mL). In agreement with our findings, a recent in vitro investigation found that the ROLEO had higher α-amylase inhibitory activity (26.29%) than acarbose (positive control), which showed (4.55%) inhibition63. Another study showed that the rosmarinic acid extract ( 8.88 mM) was also demonstrated to inhibit α-amylase activity significantly64. Interestingly, Kabubii et al. (2024) reported that the aqueous extract of R. officinalis leaves significantly reduced glucose levels in streptozotocin-induced diabetic Wistar rat model8. Further investigation revealed that the ethanolic leaf extract of R. officinalis effectively lowered blood glucose levels in rabbits with normoglycemia, glucose hyperglycemia, and alloxan-induced diabetes65. These findings are important because they support the long-standing practice of using R. officinalis to treat various diseases, including metabolic disorders. These inhibitory effects may be attributed to the presence of bioactive chemicals such as phenolics and flavonoids.

The rise of antimicrobial resistance represents a critical public health issue affecting populations worldwide, as a growing number of pathogenic organisms, including bacteria and fungi increasingly have developed resistance to one or more antimicrobial medications, collectively known as multi-resistant organisms. In the past decade, extensive endeavors have been undertaken to investigate natural products from a variety of sources, including plants, environments, and microorganisms. For thousands of years, these products have proven to be an essential and beneficial source of anticancer and antimicrobial agents. Antimicrobial compounds derived from medicinal plants possess the potential to inhibit the growth of bacteria, fungi, viruses, and protozoa through mechanisms distinct from those utilized by conventional antimicrobials. Furthermore, they may offer considerable clinical advantages in addressing microbial strains that resist existing antimicrobial therapy66. The findings of the current study demonstrate that ROLEO (MIC values = 4.68 ± 2.21—25 ± 0.00 μg/mL) exhibits greater antibacterial activity compared to ROLME (MIC values = 12.50 ± 0.00—25 ± 0.00 μg/mL) against all tested bacteria, with a notable efficacy against Gram-positive bacteria. These findings are consistent with an earlier investigation that found that the tested bacteria were partly responsive to the methanolic extracts and sensitive to the ROLEO. Especially Notably, Proteus vulgaris and Enterococcus faecalis were the most susceptible to the essential oil.67. In contrast, a recent study on the antibacterial activity of ROLEO and ROLME in Egypt reported that only ROLME showed inhibitory effects against Gram-positive bacteria and pathogenic yeast but not ROLEO68. ROLME also inhibited the growth of P. aeruginosa, E. coli, and S. aureus, with P. aeruginosa exhibiting the highest sensitivity to ROLME, with a 19.8 mm growth inhibition zone, and S. aureus exhibited the lowest sensitivity, with a 14.4 mm growth inhibition zone69. The synergistic interaction of R. officinalis components disrupts the bacterial cell membrane to influence electron transfer, fatty acid transport, genetic material production, and cellular component leakage70. Protein interactions with the membrane also cause loss of membrane structure and function. These differences in the susceptibility between Gram-positive and Gram-negative may be due to differences in cell membrane permeability or other genetic factors71. Furthermore, a combination of less common compounds found in ROLEO or most of the compounds may be the primary cause of antibacterial activity.

The molecular docking investigations of the bioactive compounds in ROLEO and ROLME yield valuable insights into their antioxidant, antibacterial, antidiabetic, and anticancer activities. In-silico studies revealed glide scores, which measure the binding affinity between a ligand and a receptor, is an essential parameter to predict molecular affinity. The lower the glide score (i.e., the more negative it is), the stronger the ligand and receptor interaction. This indicates an optimal stabilization of the ligand-receptor complex through noncovalent interactions such as hydrogen bonds, hydrophobic, and electrostatic interactions72. The molecules identified in ROLEO (1H-Cycloprop[e]azulen-4-ol, Thymol, and Phenol, 2-methyl-5-(1-methylethyl)-) and ROMEO (Benzofran-3-one, Bisabolol oxide B, and Verbenone) show glide scores ranging from − 5.043 to − 6.149 kcal/mol against α-amylase. These scores indicate a significant affinity for inhibiting this key enzyme involved in the digestion of complex carbohydrates. By inhibiting α-amylase, these compounds may help reduce postprandial glucose spikes, a central goal in the management of type 2 diabetes73. Regarding anticancer activity, the compounds identified in ROLEO (Thymol, Bicyclo[3.1.0]hexan-3-one, and Phenol, 2-methyl-5-(1-methylethyl)-) and in ROMEO (4H-Pyran-4-one, Benzofran-3-one, and Verbenone) exhibit glide scores ranging from − 4.680 to − 5.989 kcal/mol against caspase-3. Inhibition of this enzyme, which plays a crucial role in apoptosis, could prevent cancer cells from exploiting apoptotic pathways to avoid programmed cell death74. The results also reveal a strong antibacterial activity of ROLEO and ROMEO compounds against E. coli gyrase B, an essential enzyme in bacterial DNA replication. Molecules such as Thymol, Benzofran-3-one, and 1,6-Dioxaspiro[4.4]non-3-ene show glide scores ranging from − 5.573 to − 7.231 kcal/mol, indicating a high affinity for this target. These results are consistent with previous studies demonstrating the efficacy of gyrase B inhibitors as promising antibacterial agents75.

The interactions and types of bonds between the ligands and the different active sites, such as hydrogen bonds, pi-cation interactions, and pi-pi stacking, play a crucial role in stabilizing ligand-target complexes. These interactions determine the binding affinity and specificity of bioactive molecules, influencing their therapeutic potential.

Hydrogen bonds strengthen ligand-target affinity by providing directional electrostatic interactions, stabilizing the complex within the active site. These are essential for enzyme inhibitors as they help anchor the ligand to key residues76. Pi-cation interactions involving a positive charge and an aromatic system contribute strong electrostatic forces that stabilize complexes in catalytic pockets77. Pi-pi stacking stabilizes hydrophobic and aromatic interactions, enhancing ligand specificity for their targets78. Together with salt bridges, these interactions are crucial for modulating enzymatic activity and disrupting pathological pathways79.

ADMET parameters are critical in evaluating a molecule’s pharmacokinetic behavior and therapeutic potential. Molecules with favorable molar mass (< 500 g/mol), such as thymol (150.22 g/mol), ensure better absorption and permeability80. High Caco-2 cell permeability, like that of thymol (3835.969 nm/s), indicates excellent intestinal absorption81. Moreover, high oral bioavailability (100% for ROLEO molecules) ensures efficient drug delivery.

While this study provides valuable insights, it is essential to acknowledge certain limitations that can inform and guide future research efforts. For instance, further investigations are needed to compare the different fractions derived from the samples, as well as to analyse their phytochemical composition and biological activity. To validate the recently identified compounds, the retention indices of the components were calculated using linear interpolation concerning the retention durations of two common n-alkane mixes (C8–C20 and C21–C40). Additionally, techniques such as liquid chromatography-mass spectrometry (LC–MS) and high-performance liquid chromatography (HPLC) are needed to identify and quantify specific polyphenols. Furthermore, the lack of in vivo research creates a gap in our understanding of targeted organ delivery, efficacy, and potential side effects in more complex physiological conditions. Future research should prioritize in vivo studies to determine the effectiveness and safety of these substances.

In conclusion, GC–MS analysis of ROLME revealed 20 bioactive compounds, some of which were unique, whereas GC–MS analysis of ROLEO revealed 73 bioactive compounds. Compared to ROLME, ROLEO has higher antioxidant activity at low concentrations, antidiabetic properties via inhibition of α-amylase and α-glucosidase enzymes, potential lower-dose anticancer effects, and antibacterial activities, particularly against Gram-positive bacteria. Overall, this study highlights the broad range of applications of ROLEO and ROLME as anticancer, antidiabetic, and antioxidant agents. Research on the mechanisms of action and potential therapeutic uses of these chemicals, both alone and in combination, is necessary in light of the identified bioactivities. In vivo investigations will be the main focus of future studies to evaluate the efficacy and safety of these compounds.

Materials and methods

Plant material and preparation

The R. officinalis was commercially obtained from a local market in Riyadh, Saudi Arabia in August of 2024. R. officinalis is a bushy, evergreen plant. Upright spikes of fragrant, dark green leaves and purple-blue blooms from mid-spring to early summer. The selected plant species were validated by Prof. Dr. Mohammed Fasil, and voucher specimens were deposited in the herbarium of the Department of Botany and Microbiology, College of Science, King Saud University, Riyadh, Saudi Arabia (KSU NO-19897). However, the collection of plant materials was conducted following the guidelines of the International Union for Conservation of Nature (IUCN) policies research involving species at risk of extinction and the Convention on the Trade in Endangered Species of Wild Fauna and Flora.

The R. officinalis was carefully washed with running water to remove surface impurities. They were then allowed to dry for 10 days at room temperature. As previously mentioned19, ROLEO extraction was performed by hydrodiztilling 100 g of dried and ground R. officinalis leaves and branches for three hours with 1000 mL of distilled water using a Clevenger-style device. Following collection and drying on anhydrous sodium sulfate, the extracted ROLEO was stored in sealed glass vials at − 4 °C until needed.

ROLME was performed using methanol as described previously by19. Fifty grams of leaf powder were extracted by dissolving it in 500 ml of methanol: water (80:20, v/v). This allowed for the extraction of the desired compounds from the plant material. The mixture was shaken overnight at 100 rpm at room temperature. After the extraction phase, contaminants or solid residues were eliminated from the extracts using the Whatman No. 1 filter paper. The extracts were dried using vacuum-assisted drying by exposing them to a temperature of 30 °C. The produced dried extracts were then stored in a refrigerator at 4 °C until further use.

Identification of bioactive compounds

GC–MS system Agilent 7890B coupled to Agilent 5977A MSD equipped with a single quadrupole mass analyzer capillary HP-5MS UI (Ultra Inert), length: 30 m, i.d.:0.25 mm, film thickness: 0.25 µm, stationary phase: 5% phenyl, methylpolysiloxane (low polar) from Agilent Technologies (Santa Clara, CA, USA) was employed to identify the bioactive components. The temperature was set to be at 50 °C for three minutes, 280 °C for 15 min, 250 °C for one minute, and 7.5 °C/min constant. A liquid delay of 4 min, acquisition scan type, a mass range of 50–1000 Da g/mol, and a scan speed of 1.56 u/sec. The carrier gas (helium) was maintained at a constant 1 ml/min flow rate. The results were collected from the GC–MS at an ionization voltage of 70 eV in EI ionization mode. The temperatures of the injector and detector were set at 250 °C and 300 °C, respectively.

The search library used was Willey and the National Institute of Standards and Technology (NIST) mass spectral database. By comparing the components with those found in the NIST computer libraries connected to the GC–MS equipment, parts with a matching factor greater than 90% were identified.

Determination of TPC and TFC

TPC was determined using the Folin-Ciocalteu method as described in an early study82. TPC was calculated using a standard curve created from the gallic acid standard (10–100 mg/mL). Following the designated concentration of the extract, a mixture was prepared by combining 0.25 mL of the extract with 1.25 mL of the Folin–Ciocalteu reagent (phosphomolybdate and phosphotungstate), in addition to 7.5% NaHCO3. This mixture was incubated at 45 °C for 15 min, and then the absorbance at 765 nm was measured using a spectrophotometer (U2001 UV–vis Spectrophotometer, Hitachi, Japan). The linearity of the curve was assessed using the coefficient of determination (R2) of calibration curves. Gallic acid equivalent (mg GAE)/g of extract was used to express the findings.

TFC was determined using the aluminum chloride (AlCl3) colorimetric method, as described in a previous study83. In this method, approximately 0.1 mL of the extracts were separately incubated with 2.0 mL of a 2% AlCl3 solution and 1.0 M sodium acetate for 30 min at room temperature. Following incubation, the absorbance of the extract was measured using a spectrophotometer (U2001 UV–vis Spectrophotometer, Hitachi, Japan) at a wavelength of 420 nm. A standard curve with quercetin concentrations ranging from 0 to 100 mg/mL was created to quantify TFC. TFC is expressed as mg quercetin equivalent mg (QAE) + /g of the extract.

Antioxidant activity

DPPH assay

Using the previously mentioned methodology84, the DPPH radical scavenging assay was used to evaluate the ROLEO and ROLME capacities to react with DPPH radicals. The extracts were prepared at five concentrations (50, 100, 200, 400, and 800 μg/mL). For each concentration, approximately 0.5 mL of the extract was mixed with 0.375 mL of methanol and a DPPH solution (2 mL, 0.08 mM). The reaction mixture was then placed in a dark environment and incubated for 30 min. After incubation, the optical density (OD) of the mixture was measured at 517 nm using a spectrophotometer (U2001 UV–vis Spectrophotometer, Hitachi, Japan). Ascorbic acid was used as a positive control at known concentrations (400 µg/mL). The proportion of DPPH scavenging activity (%) was determined using the following equation: DPPH radical scavenging activity [%] = [(Ac—A)/Ac] × 100, where Ac denotes the absorbance of the control, and A denotes the absorbance of the sample. The half-maximal inhibitory concentration (IC50) value was computed using Graph Pad Prism software (version 5.0, La Jolla, CA, USA). The IC50 of DPPH scavenging activity was determined graphically using the line equation obtained from the % value of the antioxidant activity and the concentration value plotted on a graph, where the concentration value is on the X-axis, and the % activity is on the Y-axis85.

ABTS assay

The ABTS radical scavenging assay was conducted using the methodology outlined in previous study86. Ascorbic acid (200 μL, 400 μg/mL) was used as the positive control. The assay was carried out by first mixing the ABTS solution (192 mg/50 ml) with the K2S2O8 solution (140 mM). Consequently, the reaction mixture was placed in the dark at room temperature for about 12 h. In addition, the ABTS solution was mixed with methanol to achieve an OD of 0.70 ± 0.02 at 734 nm. Furthermore, fifty microliters of each extract concentration were thoroughly mixed with 3 mL of diluted ABTS. Moreover, the mixture was incubated for 6 min in dark conditions. Subsequently, the OD was measured at 734 nm using a spectrophotometer ((U2001 UV–vis Spectrophotometer, Hitachi, Japan). The results are presented as IC50 and ABTS % values, as described above.

Cell culture and cytotoxicity assays

This study investigated the toxic properties of various plant extracts using several cell lines: human hepatoma HepG2 (ATCC HB-8065), breast cancer MCF-7 (ATCC HTB-22), and the normal human epithelial breast cell line MCF-10A (ATCC CRL-10317), which serves as a non-tumorigenic epithelial model system in vitro. The cells were cultured in Dulbecco’s Modified Eagle Medium (DMEM), supplemented with 1% penicillin–streptomycin and fetal calf serum (FCS). The Cells were cultured at 37 °C in a 5% CO2 humidified environment. Cell viability was determined using a 3-(4,5-dimethylthiazol-2-yl)-2,5-diphenyl-2H-tetrazolium bromide (MTT) test. The principle of the MTT assay is that mitochondria reduce yellowish MTT to create purple formazan granules87. One hundred milliliters of DMEM (100 mL) were added to each well of the 96-well microplate for inoculation, by incubating the microplate for 24 h at 37 °C, 95% humidity, and 5% CO2, a completely formed monolayer sheet was created. Serial dilutions of 0.1% dimethyl sulfoxide (DMSO)-solubilized extracts were prepared using a growth medium at 50–400 µg/ml. The Cells treated with the extract were then incubated for 24 h at 37 °C and 5% CO2. Cisplatin (30 µg/mL) was used as a positive control. Negative control cells were incubated without the addition of stem and leaf extracts. Next, 10 µL MTT solution was added to each well. A shaker (MPS-1, Biosan, London, UK) was used for mixing, and it was run for five minutes at 150 rpm. The incubation was continued for 4 h. Formazan, a metabolic byproduct of the MTT assay, was resuspended in 100 µL of DMSO and vigorously shaken at 150 rpm for five minutes. The optical density at 570 nm was measured using an ELX-808 microplate reader (BioTek Laboratories, LL, Shoreline, W.A, USA). Data were corrected using a background reference wavelength of 620 nm. Once cell viability (%) was established, an experiment was performed in triplicate. Graph Pad Prism software (version 5.0, La Jolla, CA, USA) was used to calculate the IC50 value after the mean value ± SD was considered for data processing88.

RT-PCR assay of apoptosis genes and Morphological observations

RT-PCR was used to assess the expression of anti-apoptotic (Bcl-xL and Bcl-2) and apoptotic genes (caspase-3, 8, 9, and Bax). Additionally, an inverted microscope (Eclipse TS100, Nikon, Japan) was used to observe the morphological changes induced by ROLEO and ROLME on MCF-7, HepG2, and MCF-10A cells. MCF-7, HepG2, and MCF-10A cells. MCF-7, HepG2, and MCF-10A cells (2 × 103 cells) were collected and put in six-well plates with 100 µg/ml of the plant 1extract. After centrifugation at 500 g for 5 min at 4 °C, the pellet was used for RNA extraction using an RNeasy kit (Qiagen, Hilden, Germany), and the supernatant was removed. This RNA served as the template for RT-PCR. The RT-PCR reactions were performed in a 7500 Fast real-time PCR (7500 Fast; Applied Biosystems, Foster City, CA, USA). The RT-qPCR methodology is described in our recent study89.

Antidiabetic activity

In vitro α-amylase inhibition assay

A 3,5-dinitrosalicylic acid (DNSA) assay was used to ascertain the inhibition of α-amylase activity, as previously reported90. Briefly, plant extracts were diluted to reach concentrations ranging from 50 to 1000 μg/mL using the buffer (0.02 M Na2HPO4/NaH2PO4; 0.006 M NaCl; pH 6.9). The mixture was incubated for 10 min at 37 °C after 200 µL of each extract and 200 µL of the Molychem α-amylase solution (2 units/mL) were mixed. Each tube was then filled with 200 µL of the 1% starch solution (w/v), and the tubes were left for 3 min at 37 °C. In total, 200 µL of DNSA reagent (12 g of sodium potassium tartrate tetrahydrate in 8.0 mL of 2 M NaOH and 20 mL of 96 mM 3,5-DNSA solution was added to stop the reaction, and it was then heated for 10 min at 85 °C in a water bath. The positive control was 100 μL of 400 µg/mL of acarbose (Bayer). After allowing the sample to cool to room temperature and diluting it with 5 mL of distilled water, the OD at 540 nm was measured using a UV–visible spectrophotometer (U2001 UV–vis Spectrophotometer, Hitachi). α-Amylase inhibition was calculated and expressed as a percentage of inhibition, and IC50 values were calculated using Graph Pad Prism software (version 5.0, La Jolla, CA, USA).

In vitro α-glucosidase inhibition assay

As previously reported91, yeast α-glucosidase and p-nitrophenyl-α-D-glucopyranoside (pNPG) were used to assess the α-glucosidase inhibitory activity. The extracts (100 μL, 20 mg/mL) or 400 µg/mL of acarbose (serving as a positive control) were mixed with 50 μL of α-glucosidase (1 U/mL) produced in 0.1 M phosphate buffer (pH 6.9) and 250 μL of 0.1 M phosphate buffer to reach a final concentration of 0.5 to 5.0 mg/mL. The mixture was incubated for 20 min at 37 °C. Subsequently, 10 μL of 10 mM pNPG produced in a 0.1 M phosphate buffer (pH 6.9) was added, and the mixture was incubated for one hour at 37 °C. The OD was measured at 405 nm using a spectrophotometer (U2001 UV–vis Spectrophotometer, Hitachi, Japan) after the reactions were stopped by adding 650 μL of 1 M sodium carbonate. The results were represented as a percentage of the enzyme activity inhibition (%), and IC50 values were calculated using GraphPad Prism.

Antibacterial activity

Disc diffusion assay

The antibacterial activities of ROLEO and ROLME were determined using the disc diffusion method, as previously indicated92. The microbial strains used in this study were Gram-positive bacteria (Staphylococcus aureus, ATCC -23,235; Staphylococcus epidermidis, ATCC-12228; Bacillus subtilis, ATCC- 23,857) and Gram-negative bacteria (Escherichia coli ATCC-25922; Pseudomonas aeruginosa, ATCC-27853; Klebsiella pneumonia ATCC-13883). A mixture of 100 μL suspensions, including 107 CFU/mL of bacteria in the exponential growth phase, was spread over Mueller–Hinton agar medium (HMA). The next step included incubating petri dishes at 37 °C for 24 h. Hole-punching with a 5 mm diameter cork-borer was used to create wells at equal surface intervals. The plant extracts (100, 200, 400, and 800 µg/ml; 100 µL/well) were mixed with the resulting wells in triplicate and placed on inoculated Petri plates. Chloramphenicol (25 µg/ml) was used as the positive control, whereas Muller Hinton Broth (HMB) with 0.1% DMSO was used as the negative control. The Petri dishes were incubated at 37 °C for 24 h. Measuring the inhibition zone (mm) against the microorganisms under study, including the disc diameter, allowed the evaluation of antibacterial efficacy.

Minimum inhibitory/bactericidal concentration (MIC/MBC)

The broth dilution technique determined the MIC and MBC of ROLEO and ROLME using the 2,3,5-triphenyl tetrazolium chloride (TTC) method93 with some modifications. First, a pathogenic bacterial primary culture was prepared at 5 × 106 CFU/ml. Subsequently, 1.95–1000 µg/ml extract was diluted with MHB. One hundred microliters of the extract were applied to each well of a 96-well plate, and bacteria were added. The plates were incubated for 24 h at 37 °C. After adding 20 µL (2 mg/mL) of TTC to each well, the growth of microorganisms was observed by observing the formation of a crimson color. No color change was observed at a concentration known to be the minimum color (MIC). One hundred microliters of content from each well that did not change in color were cultured on MHA and incubated at 37 °C for 24 h. The smallest dilution that inhibited growth94.

Molecular docking

Molecular docking was applied to conduct a theoretical evaluation of the potential antidiabetic, anticancer, and antibacterial effects associated with ROLEO and ROLME.

Ligand preparation

The process of preparing ligands commenced with obtaining the compounds from ROLEO and ROLME in SDF format via the PubChem database. Using Schrödinger’s LigPrep module (version 11.5), these ligands were refined and optimized under the OPLS3 force field. Adjustments were made to account for ionization states at a physiological pH range of 7.0 ± 2.0, enabling the generation of up to 32 stereoisomeric forms for each compound95.

Protein preparation

Proteins used in the docking study were sourced from the Protein Data Bank, including human α-amylase (PDB ID: 1B2Y)96, caspase 3 (PDB ID: 3GJQ)74, and E. coli gyrase B (PDB ID: 3G7E)97. The preparation process involved refining their structures by adding hydrogen atoms, correcting bond orders, eliminating water molecules, assigning hydrogen bonds, optimizing receptor atom charges, and performing energy minimization with the OPLS3 force field98.

Glide standard precision (SP) ligand docking

Ligand docking was performed flexibly using the standard precision (SP) protocol within the Glide tool of Schrödinger-Maestro (version 11.5). To ensure accurate modeling, non-cis/trans amide bond configurations were penalized during the procedure. The Van der Waals forces for ligand atoms were adjusted with a scaling factor of 0.80, and a partial charge cutoff of 0.15 was applied. Docking results were analyzed using glide scores calculated from the energy-optimized ligand conformations. The conformation with the most favorable (lowest) glide score was identified as the optimal binding pose for each ligand96.

ADMET analysis

The QikProp tool in Schrödinger’s Maestro software (version 11.5) was used to estimate the ADMET (absorption, distribution, metabolism, and excretion) profiles of the studied molecules. These predictions were derived from their physicochemical and pharmacokinetic characteristics, such as molecular weight, the number of hydrogen bond donors and acceptors, total solvent-accessible surface area, blood–brain partitioning coefficient, octanol–water partition coefficient, and aqueous solubility99.

Statistical Analysis

One-way analysis of variance (ANOVA) was used to statistically evaluate all collected data on the effectiveness of different extract concentrations. Using a significance threshold of 0.05, a post hoc analysis was performed to compare the means using the least significant difference test.