Introduction

There has been a notable global shift recently, favoring the use of herbal medicines and natural therapeutic agents. This trend emerges from apprehensions regarding the side effects of synthetic medicines, with people seeking more versatile options. Plant-based bioactive compounds, particularly essential oils that are high in phenolics and terpenoids, have become very popular because of their various health benefits. Thymus linearis Benth. commonly known as linear-leaved thyme, is a perennial herb belonging to the family Lamiaceae that flourishes in the hilly, high-altitude regions of Uttarakhand, India1. The plant typically grows as a small shrub, reaching heights of 10–30 cm, with woody stems and a compact, bushy habit. Its leaves are narrow and elongated, measuring about 5–15 mm in length, and they are often covered in fine hair2. Traditionally, it has been acknowledged for its medicinal potential, having been used for its antibacterial, anti-inflammatory, and antioxidant properties, along with aroma healing1,3,4. Its therapeutic efficacy is dependent on its chemical components, such as phenolics, terpenoids, and flavonoids, which is the sole reason for plant-based products to gain utmost attention. The Food and Drug Administration (FDA) also considers thymol as (GRAS) “generally recognized as safe” for use as a food flavoring by the European Commission5. The notable chemical polymorphism in the genus Thymus is well-known. Different living and non-living factors cause changes in the plant compounds found in essential oil, as well as their effectiveness6.

A wide range of benefits are reported for T. linearis, such as anti-inflammatory, antioxidant, antipyretic, analgesic, antidiabetic, antiproliferative, antimalarial, and antimicrobial activities7,8,9,10. The oils and extracts are very common in the cosmetics, pharmaceuticals, perfumes, and flavor sectors9. Recently, scientific interest in T. linearis has grown, with researchers investigating its chemical makeup (thymol, carvacrol, and γ-terpinene) and potential applications in modern medicine, food preservation, and agriculture. It is hypothesised that various biotic and abiotic factors significantly influence the biosynthesis of phytochemicals leading to varied chemical profile10. Subsequently, this study was designed to seek a better understanding of phytochemical diversity in T. linearis by analyzing its metabolites through GC-MS and assessing their efficacy against different biological assays. Following this, merging molecular docking and PASS prediction methods along with cluster analysis were explored to validate the experimental results. Unraveling the chemodiversity and bioefficacy of T. linearis not only intensifies the molecular complexity present in nature but also paves the way for harnessing the region-based phytochemical signatures in the tracking of next-generation, plant-based natural therapeutics.

As far as we know, this is the first integrative report establishing direct link of regiospecific diversity (a natural tool kit that enhances treatment options) and compared their plant chemicals with multiple biological activities, including computational validation.

Materials and methods

Collection of plant and identification

The plant, T. linearis, was collected in fresh from three locations in Uttarakhand: Soni (Ranikhet, RTL), Kasar (Almora, ATL), and Kolidhek (Lohaghat, LTL), with coordinates and altitudes of approximately 29.6462°N, 79.4323°E (1,869 m); 29.6211°N, 79.6712°E (2116 m); and 29.4160°N, 80.0922°E (1754 m), respectively (Supplementary Fig. S1). The collection was strictly undertaken in full compliance with institutional, national, and international research guidelines. The species is not listed in the IUCN Red List of Threatened Species or under CITES regulations. The herbarium vouchers have been submitted in the herbarium of Regional Ayurveda Research Institute (RARI) located in Almora (Thapla), Uttarakhand. The identification was done by Dr. Deepshikha Arya for which accession numbers were assigned to the respective voucher specimens (Ranikhet, 29967; Almora, 29963; and Lohaghat, 29966).

Extraction of the essential oil

Three distinct locations (RTL, ATL, LTL) were selected for the extraction of essential oils from T. linearis using hydro-distillation with the help of the Clevenger-type apparatus (Winzer) over three hours. A 5000 mL round-bottom flask held the plant material (400 g) and heated at 80–100 °C for 3 h, allowing the essential oil of the plant material to vaporize11. The analysis was conducted in triplicate to ensure the adequacy of oil extraction. Later, anhydrous sodium sulfate was used for drying any excess moisture present in essential oil, followed by storing the oil in dark vials at 4 °C with Teflon-sealed covers, preserving the integrity and quality of the essential oils.

Essential oil analysis

At JNU (Jawaharlal Nehru University) in New Delhi, the AIRF (Advanced Instrumentation Research Facility) used GC (gas chromatography) and GC-MS (gas chromatography-mass spectrometry) to look at the essential oil.

Gas chromatography and gas chromatography-mass spectrometry

Shimadzu’s 2010 GC-FID and GC-MS instruments evaluated essential oils. For the analysis, a capillary column was employed (30 m length × 0.25 mm ID), with a film thickness of 0.25 μm. Nitrogen functioned as the carrier gas, flowing at 46.5 mL/min. The detector was maintained at 290 °C, while the oven and injector at 280 °C. The injection mode employed was split, administering 0.2 µL of unadulterated oil with a fixed split ratio6. The temperatures were fixed for ion source (280 °C), interface (230 °C) and GC-MS (270 °C). Split mode was used a 100-split ratio. Spectra were obtained at 70 eV for 45–650 amu masses. Under consistent experimental conditions, the retention index (RI) was determined using a n-alkane homologous series (C9-C33). The data was compared to mass spectral libraries of NIST (version 4.1) and WILEY (7th edition) followed by comparing the spectra and matching the calculated (RIc) values to the pre-documented data12.

Antioxidant activity

Three methods employed for the calculation of essential oil sample’s potential against two standards (BHT and catechin) are indicated below:

2,2-diphenyl-1-picrylhydrazyl radical scavenging assay (DPPH)

To analyze the potential of samples, a regression equation was plotted following the study by Joshi et al.6. To start, five varying concentrations (10 µg/mL to 50 µg/mL) were used, where lower IC50 values indicated higher DPPH scavenging activity. The solution was made by mixing 5 mL of DPPH (0.2 mM, 0.0197 mg/mL) in methanol with 1 mL of an oil solution in methanol. The sample test tubes were incubated for approximately 30 min, and at 517 nm absorbance was measured vs. blank. The experiment was done in triplicate, with the reaction mixture (DPPH radical solution) excluding the test solution acting as the control. For reference, standards like butylated hydroxytoluene (BHT) and catechin were used.

Inhibition percentage for all the samples was calculated as follows:

$$\:\%\:Inhibition=\frac{\text{A}\text{c}-\text{A}\text{s}}{\text{A}\text{c}}\times\:100$$

where Ac=Absorbance of control (517 nm); As=Absorbance of test sample (517 nm).

To further evaluate the concentration-independent standardized value of antioxidant potential, the antioxidant activity index (AAI) was calculated13.

ABTS radical scavenging assay

The standards, BHT, along with catechin, were used to assess this assay14. To prepare the ABTS·+ radical, equal volumes of 7 mM ABTS and 2.45 mM potassium persulfate were mixed and kept in the dark at ambient conditions for 12–16 h to allow complete reaction. Post-ABTS·+ solution mixing with methanol, absorbance at 734 nm was measured. The same was done for different oil samples (5–25 µg/mL) and conventional antioxidants (BHT and catechin) after incubating them for 6 min. The data was executed in triplicate. Formula for a radical scavenging percentage:

$$\:\%\:Inhibition=\frac{{A}_{c}-{A}_{s}}{{A}_{c}}\times\:100$$

where Ac=Absorbance of control (734 nm); As = Absorbance of test sample (734 nm).

Metal-chelating assay

The oil’s essential components were studied for Fe2+ chelation using a spectrophotometer15. For the study, we mixed 0.1 mL of 2 mM FeCl4 H2O, 0.2 mL of 5 mM ferrozine, and 4.7 mL of methanol with varying amounts of essential oils at concentrations of 10 µg/mL and 50 µg/mL. The solution was stirred and kept undisturbed, and at 562 nm, the absorbance was measured after incubating them in the dark for approximately 20 to 30 min. The data was executed in triplicate. BHT served as the standard, and percentage inhibition was computed with the help of the given formula:

$$\:\%\:Inhibition=\frac{{A}_{c}-{A}_{s}}{{A}_{c}}\times\:100$$

where Ac=Absorbance of control (562 nm); As=Absorbance of test sample (562 nm).

Antidiabetic activity

Various concentrations (20–100 µg/mL) of essential oils (RTL, ATL, LTL) along with the standard drug acarbose were evaluated for their α-amylase inhibitory activity. Following the study by Oboh et al. (2015)16, samples of different amounts were added to 0.02 M phosphate buffer (pH 6.0) with 0.5 mg/mL pancreatic α-amylase enzyme (EC 3.2.1.1). Following this, the samples to be tested were introduced to this mixture and pre-incubated for 10 min at a temperature of 60 °C. Subsequently, 500 µg/mL of a 1% starch solution formulated in the identical buffer was introduced to each reaction mixture sample at predetermined intervals. 0.05 mL of dinitro-salicylic acid reagent was added and incubated at 60 °C for 20 min. Later, boiling water was used for incubation of the test tubes for 10 min, followed by cooling them to room temperature. Following the addition of 2 mL of distilled water to the reaction mixture, at 540 nm, the absorbance was recorded. The results were compared to a standard control consisting of buffer rather than sample extract. To ensure reproducibility, experiment was done in triplicate. The findings were computed utilizing the following equation:

$$\:\%\:Inhibition=\frac{{A}_{c}-{A}_{s}}{{A}_{c}}\times\:100$$

where Ac = Absorbance of control (540 nm); As = Absorbance of test sample (540 nm).

Antibacterial activity

The method used for antibacterial activity was disc-diffusion, which involved preparing clean, nutrient-rich agar plates17. Following this, for 1 h, the autoclave was run at 121 °C and a pressure of 15 psi to sterilize the medium. The media (15–20 mL) was added to each petri dish, and the plates were placed in laminar airflow and exposed to UV light for approximately 15 min to allow the medium to solidify. With this, bacterial test organisms—gram-positive Bacillus subtilis (MTCC 441) and gram-negative Escherichia coli (MTCC 64)—were disseminated through an inoculation tube to the test plates. A loop was used to inoculate nutrient agar plates with bacterial strains. Next, sterile Whatman AA filter paper discs (6 mm diameter) were soaked with standard S (200 µg/mL) and essential oils C1 (200 µg/mL), C2 (100 µg/mL), and C3 (50 µg/mL) to create the microbial lawn. These discs were then placed at equal distances from each other in the microbe-inoculated plates. Prior to incubation, it was stabilized at 37 °C in a laminar airflow for approximately one hour for bacteria culture for 24 h. The inhibitory zones (ZOI) were measured. The experiment was conducted three times. Ciprofloxacin was employed as a reference standard for antibacterial activity.

In silico molecular Docking

A computational technique to forecast the intermolecular framework that outputs the appropriate binding between the ligands and protein was employed. AutoDock 4.2.6 was utilized with the existing empirical free energy function. A grid map with 40 x-, y-, and z-points and 1.000 Å spacing was used for all dockings. From the docking search, the conformation having the least energy of docking was picked as the best conformation. The number of torsions was adjusted from 0 to 6. Stable ligand-protein interactions were explored by hydrogen bonding. The complicated conformations of protein and ligand were examined via the PyMOL program and UCSF Chimera with Accelry’s Discovery Studio Visualizer, encompassing hydrogen bonds and bond lengths. For the analysis, thymol, γ-terpinene, and p-cymene were used, and their 3-D structures along with PubChem CIDs which were saved in SDF format and later converted to PDB format. The Protein Data Bank (PDB) provided target proteins’ crystal structures under IDs 7CFZ, 1OSE, 1J1J, and 1PXQ. The components were docked against respective proteins, and binding energy (ΔG) was calculated to measure the affinity of the ligand-protein complex6.

In silico evaluation via PASS tool

PASS predicted the numerical value in this study, verifying the experimental results. The molecular structure for prediction is anticipated in the MOL or SDF file). In PASS analysis, a compound’s possible biological effects are predicted, with each effect assigned a probability of being active (Pa) or inactive (Pi). For a specific molecule, only actions with Pa greater than Pi are considered feasible for a particular drug6.

Lipinski’s rule

To evaluate ligand oral bioavailability and drug-likeness (thymol, γ-terpinene, p-cymene), Lipinski’s rule of five was applied. According to the rule, a molecule possesses the criteria of molecular weight: 500 Da or less, logP: 5 or less, hydrogen bond donors: 5 or less, and hydrogen bond acceptors: 10 or less. Any molecule matching these criteria is considered suitable for further pharmacokinetics and drug discovery studies6.

Statistical analysis

In the present study, SPSS 16.0, along with Origin Pro 2025 (for graphing and analysis) and MS Excel, was used to create all the graphs and perform the statistical analysis (correlation and clustering). The mean ± standard deviation is provided for the data. For the calculation of IC50 values, a linear regression equation was used.

Results and discussion

Percentage yield of essential oil

The extracted essential oil yield, along with the parameters of altitude and rainfall, are represented in Fig. 1. The oil yield varied, with the highest yield recorded in the ATL collection (1.4%±0.1) followed by LTL (1.2% ± 0.1) and RTL (0.8% ± 0.9). The essential oil of RTL showed a dark yellow color, and other sites displayed a yellow color. The essential oil yield was observed to increase with altitude and decrease with rainfall. Previous reports also support the present finding17,18,19, indicating that several climatic parameters such as altitude and rainfall influence the biosynthesis and accumulation of essential oils.

Fig. 1
figure 1

A bubble chart illustrating oil yield based on color, altitude, and rainfall. The bigger size of the bubble represents a higher oil yield percentage (ATL > LTL > RTL).

GC/GC-MS profile

Major constituents identified in RTL essential oil

Thirty of the 36 components identified a total percentage of 99.29%. Out of 99.29%, thymol constituted 73.05%, followed by 6.30% of γ-terpinene and 5.44% of p-cymene (Supplementary Fig. S2; Table 1).

Major constituents identified in ATL essential oil

According to the report, the essential oil was composed of 44 components, with 33 of them identified, accounting for 99.29% of the total composition. Thymol was the primary component, comprising 68.72%, followed by γ-terpinene at 6.51% and p-cymene at 5.42% (Supplementary Fig. S3; Table 1).

Major constituents identified in LTL essential oil

Out of the 42 components in total, 33 identified components constituted 96.82% essential oil percentage, with thymol being 61.95%, p-cymene at 9.72%, and γ-terpinene at 8.28% (Supplementary Fig. S4; Table 1).

Table 1 Percentage composition of phytochemicals detected in T. linearis in three locations.

Based on the class of composition, the essential oils in all three samples exhibited notable variation in their concentration (Fig. 2). Oxygenated monoterpenes were the most abundant, suggesting a stronger potential for medicinal and therapeutic properties, ranging from 67.6% in LTL to 80.93% in RTL. The phytochemicals of this class are well documented for antimicrobial, anti-inflammatory, antioxidant, and analgesic applications6. This was followed by monoterpene hydrocarbons (16%, ATL to 26.04%, LTL), sesquiterpene hydrocarbons (1.24%, RTL to 2.74%, ATL), and oxygenated hydrocarbons being the least, ranging from 0.49% in ATL to 0.62% in RTL. This suggests that LTL is suitable for aromatherapy and insecticidal properties, while ATL has potential for long-lasting formulations1,20,21.

Fig. 2
figure 2

Variation on the class of compounds. Oxygenated monoterpenes dominate their presence. (ATL: Almora Thymus linearis; RTL: Ranikhet Thymus linearis; LTL: Lohaghat Thymus linearis; OM: Oxygenated monoterpenes; SH: Sesquiterpene hydrocarbons; MH: Monoterpene hydrocarbons; OS: Oxygenated sesquiterpene.

The findings demonstrate the impact of several living and non-living elements on the chemical make-up of T. linearis essential oil. Thymol was the main ingredient in all three samples, with amounts of 68.72% in ATL, 73.05% in RTL, and 61.94% in LTL, but the levels vary and were observed to be the highest in the plants collected from higher altitudes (r = .861**) (Supplementary Table S1). Additionally, there were also differences in other important components like γ-terpinene and p-cymene, with the LTL region having greater amounts (8.28% and 9.72%) than the ATL (6.30% and 5.42%) and RTL (6.51% and 5.44%) regions. A significant negative correlation (r = − .675*) was noted for γ-terpinene content (Supplementary Table S1). Additionally, variations in β-(E)-caryophyllene, carvacrol, and β-bisabolene suggested the plant’s adaptation to environmental stressors in different regions (showed significant correlations with altitude).

In conclusion, the composition of essential oil is shaped by the synergistic effect of various factors6. The inherent variability of plants, along with specific chemotypes and their responses to various conditions, highlights the opportunities for industries reliant on plant-based essential oils and other products, requiring careful consideration of factors such as growth stages, season of collection, soil type, temperature, area of collection, and processing method. Thymol has been found to be a stable main chemical in this study and in earlier studies of Thymus species1,7,10,11. Therefore, improving one’s knowledge of how these factors interact is crucial for optimizing the quality of essential oil, ensuring its sustainability for future applications.

Antioxidant activity

The antioxidant activity analyzed via three assays (DPPH, ABTS, and metal chelating) suggested RTL to depict the best potency with the lowest and nearly comparable IC50 value with standards used, which underscores our sample plant for future herbal applications with no or fewer side effects. The plant proves to interact with the free radicals to stabilize them by stopping the chain reaction mechanism. The present study’s IC50 value surpasses that of previous studies on Thymus species from other geographical locations1,7,22,23,24.

As seen in Fig. 3, the results are expressed as IC50 ± SD for all three locations, where BHT (the standard) showed the highest antioxidant activity with the least IC50: 10.79 ± 1.08 µg/mL (AAI: 1.83) (strong antioxidant) for DPPH, 16.41 ± 0.08 µg/mL for ABTS, and 18.42 ± 0.07 µg/mL for metal chelating activity. With IC50 values of 13.22 ± 0.08 µg/mL (DPPH) (AAI: 1.49) (strong antioxidant), 18.30 ± 0.05 µg/mL (ABTS), and 20.43 ± 0.06 µg/mL (metal chelating), the RTL sample nearly followed similar potency as BHT. With IC50 values of 21.43 ± 0.06 µg/mL (AAI: 0.92) (moderate antioxidant), 22.53 ± 0.05 µg/mL, and 28.06 ± 0.06 µg/mL for DPPH, ABTS, and metal chelating, respectively, the ATL sample exhibited moderate antioxidant capacity. The LTL sample, which reported the highest IC50 values of 23.79 ± 0.07 µg/mL (DPPH) (0.83) (moderate antioxidant), 30.62 ± 0.06 µg/mL (ABTS), and 33.44 ± 0.06 µg/mL (metal chelating), depicted the lowest potential as a radical scavenger. Some significant negative correlations of antioxidant potential were found with thymol (ABTS IC50; r = − .734*), carvacrol (ABTS IC50; r = − .823*) and β-(E)-caryophyllene (DPPH IC50; r = − .677*) ((Supplementary Table S1). These findings from the study validate RTL as the most powerful of all three examined samples, with high thymol content matching the effectiveness of the synthetic antioxidant, BHT.

Fig. 3
figure 3

The plot between standard/sample vs. IC50. (a) DPPH scavenging activity (b) ABTS assay (c) metal chelating activity. RTL depicts best antioxidant potential with lowest IC50 value.

Thymol has been the predominant component in all the studies, which acts as a radical scavenger, conferring free radical scavenging capacity. Operating via multifarious mechanisms, the essential oil mostly passes through the hydrogen atom transfer (HAT) and the single electron transfer (SET) pathways in DPPH and ABTS scavenging activity, respectively15,25. Thymol, a phenolic compound, gives a hydrogen atom or a single electron to reactive free radicals (DPPH and ABTS) to stabilize the compounds by the formation of phenoxyl radicals, which get resonance stabilized, further terminating chain propagation26. At the same time, the essential oils show the potential to sequester Fe2+ (transition metal ion) with the help of the hydroxyl group and other polar functional groups. This stops Fe2+ from participating in the Fenton reaction, which is a critical pro-oxidative mechanism that produces highly reactive hydroxyl radicals (•OH) from hydrogen peroxide26. The essential oil of T. linearis efficiently lowers the formation of secondary radicals responsible for oxidative stress.

A joint effort to target radicals and their sources, which works together with the body’s antioxidant abilities, is seen27. Further, RTL shows a nearly similar value of IC50 when compared to the conventional standard used. This highlights its potential as an herbal, multifunctional antioxidant tool for use in nutraceuticals, cosmetic compositions, and pharmaceutical industries.

Antidiabetic activity

To analyze the results, concentration-dependent inhibition was seen for various concentrations of the essential oil with the standard. Although none of the samples were as effective as acarbose (standard), they still showcased nearly similar IC50 values ranging from 24.62 ± 0.64 µg/mL to 35.54 ± 0.20 µg/mL (Fig. 4). Moving towards history, α-amylase (found in saliva and pancreatic juices) specifically cleaves complex carbohydrates at the α-1,4-glycosidic bond, which facilitates conversion into simpler forms28. Thymol inhibits the enzyme, and carbohydrates take a longer time to break down and absorb, which helps to control postprandial hyperglycemia. As reported by Sarvanan and Pari (2016), thymol exhibits anti-hyperglycemic and anti-hyperlipidemic effects in C57BL/6J mice with high-fat diet-induced type 2 diabetes29. This is a boon for people with diabetes to control their blood sugar levels stably after meals. So, amylase inhibitors help control diabetes. Several ongoing hunts are searching for natural sources of amylase inhibitors to develop antidiabetic drugs that are safer and more effective with fewer or no side effects30,31.

Fig. 4
figure 4

Comparative presentation of antidiabetic activity of three locations. LTL depicts best potential.

In T. linearis, acarbose serves as the positive control (standard inhibitor) to validate the experimental setup. LTL was the most effective at stopping the activity (IC50 = 24.62 µg/mL), RTL was the least effective (IC50 = 35.54 µg/mL), and ATL had a moderate effect with an IC50 of 33.31 µg/mL (Fig. 4). The difference in the inhibition action is attributed to the different chemical makeup, as LTL consists of p-cymene (9.72%), γ-terpinene (8.28%), and thymol (61.95%). This suggests that these compounds work together to make enzyme inhibition stronger. Concentration of p-cymene (r = − .989, p < .01) and γ-terpinene (r = − .974, p < .01) correlated negatively with IC50 (Supplementary Table S1). ATL and RTL have a higher percentage of thymol as compared to LTL, but the superior activity of LTL is likely due to balanced synergistic effects of multiple bioactive compounds rather than a single component27.

Antibacterial activity

The results of antibacterial potential depicted from the disc-diffusion method are summarized in Supplementary Fig. S5 and Table 2, where we can see that the essential oils demonstrated very high biological activity with nearly similar values of ZOI as the standard ciprofloxacin. RTL showed a consistent antibacterial effect on both bacterial strains. At a concentration of 200 µg/mL (C1), RTL produced inhibitory zones measuring 37.15 mm for E. coli and 36.08 mm for B. subtilis, which were nearly equivalent to the standard. Furthermore, it stayed active even at lower concentrations, showing its strength and stable effect compared to ATL and LTL. ATL had the strongest effect on B. subtilis (44.93 mm) but had a sharp drop at lower concentrations. LTL worked well against E. coli, but RTL surpassed it, being the best. The essential oil from T. linearis contains a lot of phenolic compounds and terpenes, especially thymol (61.95–73.05%), γ-terpinene, p-cymene, and carvacrol, which are all powerful antibacterial agents that work together through physical and chemical (redox) reactions. This provides reliable indication of bactericidal potential opening avenues for future in-depth studies. The major component, thymol (phenolic hydrophobic), validates its positive correlation (r = .944, p < .01) and is majorly responsible for the bactericidal effect (Supplementary Table S1). On the contrary, the bacterial cell wall contains lipopolysaccharides (gram-negative) and teichoic acid (gram-positive) (Fig. 5). Since thymol has a lipophilic nature, it can penetrate the lipid bilayer of the bacterial cell wall32. It allows the membrane to become more permeable, and the entry of the phytochemicals of the essential oil becomes easier. Thymol is also responsible for biofilm inhibition33. Altogether, this causes important parts of the cell to seep out and eventually die. This is how thymol works as a safe and natural antibacterial drug by destabilizing the membrane. The bactericidal action is not solely due to one component but a synergistic effect of all major and minor components21. This synergism possibly explains why, in some cases, the inhibition zones of the essential oil even surpassed that of the standard, as the combined action of phenolic and terpenoid constituents enhances membrane permeability and oxidative stress. The multifarious mechanisms attribute firstly the lipophilic insertion to break up membranes. Two components of essential oil, thymol and carvacrol, are lipophobic phenols with small molecules that allow them to be inserted into phospholipid bilayers30. These disrupt the packing of fatty acyl chains, cause destabilization of the lipids, change in membrane permeability, ion loss and cell lysis21,34. Secondly, phenolics in essential oil create oxidative stress by disrupting electron transport chain (ETC) in bacterial cells generating reactive oxygen species (ROS)35,36. Subsequently, Fenton reaction generates hydroxyl radicals (•OH) which damage lipids, proteins and DNA, impairing cellular functions37,38. Thirdly, while the present study primarily focuses on antibacterial potential, the phenolics may act as autoinducers to stop this quorum signalling and biofilm formation, which inhibits gene expression and alteration in the regulatory and metabolic pathways, and makes the present study useful in the formation of natural quorum quenchers39.

Table 2 Comparative table of ZOI defining the potential to kill the bacterial growth.
Fig. 5
figure 5

Proposed mechanism of antibacterial action.

In silico molecular docking

The docking studies were analyzed in the form of binding energy (ΔG) as depicted in Table 3, where we can see positive interactions of the three major phytoconstituents against four target proteins: NADPH oxidase activator 1 (7CFZ2), porcine α-amylase (1OSE), translin (1J1J), and subtilisin A (1PXQ) (Figs. 6, 7, 8 and 9). Thymol and p-cymene had a strong binding affinity for NADPH oxidase activator 1 (-4.60 kcal/mol and − 5.00 kcal/mol) when it demonstrated antioxidant potential (Table 3). The residue interactions (TYR:6 and PRO:59) involved in making reactive oxygen species (ROS) were also seen, which supports the RTL chemotype to show the strongest antioxidant effect. The strongest effect of thymol (-6.30 kcal/mol) was observed when bound to porcine α-amylase, including interaction with several catalytic site residues (HIS:299, TYR:62, LEU:165, and VAL:163). Equally responsible was p-cymene (-6.20 kcal/mol), exhibiting a balanced effect suggesting slower breakdown of carbohydrates. Thymol is still the main inhibitor, though, because it has a high binding affinity and interacts with residues. Thymol and p-cymene also showed excellent docking with translin (-4.90 kcal/mol and − 5.0 kcal/mol) and subtilisin A (-3.90 kcal/mol and − 4.50 kcal/mol) when it came to antibacterial activity. The interactions were also found to be with hydrophobic and polar residues (VAL:208, ASP:211, and CYS:13). These interactions enhance the ability of phytochemicals to block enzymes by targeting the bacterial membrane. γ-Terpinene was moderate among the three ligands, but its efficacy cannot be overlooked, being a direct co-actor in all the interactions, enhancing the synergistic effect6. Overall, these results show strong alignment between translational relevance and experimental assays, validating that the key bioactive compounds operate through compatible biochemical pathways.

Fig. 6
figure 6

Molecular docking of NADPH oxidase activator 1 (7CFZ) binding domain complexed with ligands shows 3D model of the interactions and the 2D interaction patterns and H-bond interaction.

Fig. 7
figure 7

Molecular docking of porcine alpha-amylase protein (1OSE) binding domain complexed with ligands shows 3D model of the interactions and the 2D interaction patterns and H-bond interaction.

Fig. 8
figure 8

Molecular docking of Translin protein (1J1J) binding domain complexed with ligands shows 3D model of the interactions and the 2D interaction patterns and H-bond interaction.

Fig. 9
figure 9

Molecular docking of Subtilisin A (1PXQ) binding domain complexed with ligands shows 3D model of the interactions and the 2D interaction patterns and H-bond interaction.

Table 3 Molecular docking analysis of thymol, γ-terpinene, and p-cymene with target proteins: binding energies, hydrogen bonding, and key residue interactions.

PASS prediction (in silico)

Activity Prediction Spectra for Substances (PASS) predicts an organic drug-like molecule’s broad biological potential. The results predicted the Pa (probably “to be active”) and Pi (probably “to be inactive”) values of the major components (Table 4). It can be inferred from the data that major components are solely responsible for validating the experimental results of the present study. These computational data prove to be an important tool for drug discovery in future applications.

Table 4 PASS-based in Silico prediction of major components (Pa > Pi).

Lipinski’s rule

The three major phytoconstituents of the present study do not violate Lipinski’s rule (Table 5). They meet the criteria, proving the oral bioavailability of the compound for drug discovery in future studies.

Table 5 Combined table showing phytochemicals following lipinski’s rule.

Cluster analysis

The cluster revealed a distinct chemical relationship (Fig. 10). Two clusters form, with C1 consisting of essential oil samples from ATL and RTL, joined at a high similarity index of 0.93. This cluster is dominated by oxygenated monoterpenes, primarily thymol (68.72–73.05%). It also contains minor monoterpene hydrocarbons, including γ-terpinene (6.30–6.51%) and p-cymene (5.42–5.44%), along with tiny traces of phenolic monoterpene carvacrol and the sesquiterpene hydrocarbon β-bisabolene. In contrast, Cluster C2 from the Lohaghat (LTL) sample presents a distinct profile, characterized by a relatively lower percentage of oxygenated monoterpenes (thymol, 61.95%) and higher concentrations of monoterpene hydrocarbons, particularly p-cymene (9.72%) and γ-terpinene (8.28%). Carvacrol was not detected, indicating a notable chemotypic variation. Additionally, LTL showed slightly elevated levels of sesquiterpene hydrocarbons like β-(E)-caryophyllene and β-bisabolene. The clustering pattern suggests that environmental factors, particularly altitude and microclimate, significantly affect the biosynthetic pathways of essential oil constituents in T. linearis, leading to region-specific chemotypes.

Fig. 10
figure 10

Cluster dendrogram of T. linearis essential oil.

Conclusion

The present study holds an account of the exploration of phytochemicals in T. linearis across various ecogeographical locations of Uttarakhand. GC-FID and GC-MS profiling revealed thymol as the active ingredient in all three sites, albeit in different concentrations, showcasing its remarkable stability and longevity in high-altitude regions. The monoterpene hydrocarbons including γ-terpinene and p-cymene were found in significant percentages, enhancing the essential oil’s aroma and antimicrobial properties. Oxygenated monoterpenes (borneol, thymol, carvacrol, and linalool) were predominant, comprising 67.6% (LTL) to 80.93% (RTL), thereby underlining their probable efficacy. A thymol isomer, carvacrol with high bioactivity, was abundant in ATL and LTL but was insignificant in RTL, indicating regio-specific biosynthetic variation. The essential oil of RTL describes the best antioxidant and antibacterial effects, attributing it to the high thymol content, while LTL depicted maximum antidiabetic potential. The phytoconstituents were used to generate two clusters, which again support the learning of chemodiversity. Thymol emerged as the principal contributor along with synergistic enhancement of γ-terpinene and p-cymene to support the bioactivities and mechanistic roles. The elevated score of thymol in the in silico study also reconfirms its exceptional potential as an antiseptic and antibacterial for oral health, respiratory issues, food preservation, household cleaning, insect repellent, and traditional medicine. The given research, while providing integrative insights into the metabolite composition and biological potential of T. linearis Benth., some limitations warrant acknowledgement. Only three geographical locations and one seasonal collection were undertaken which may not be a proper representation of the complete phytochemical variation influenced by several biotic and abiotic factors. Although, in vitro and in silico tests demonstrate useful mechanistic findings; however, in future, in vivo and clinical research work for large scale commercialisation of T. linearis is necessary to confirm its efficacy.