1. Introduction
Medicinal plants and spices represent a rich and underutilized source of plant-based bioactive compounds, including volatile organic compounds (VOCs), which are increasingly sought after for their potential health benefits and functional applications [
1,
2]. These natural substances—primarily terpenoids, benzene derivatives, and phenylpropanoids—exhibit well-documented antioxidant, anti-inflammatory, antimicrobial, and metabolic regulatory activities, making them valuable ingredients in the development of nutraceuticals, functional foods, and natural therapeutics. In this context, the valorization of VOC-rich medicinal plants aligns with global efforts toward sustainable sourcing and the circular use of botanical resources.
The crucial relevance of medicinal plants and spices might be explained not only by their definite and unique organoleptic properties, but also their pronounced health-promoting impact [
1,
2,
3,
4]. Therefore, the implications of several medicinal plants are increasingly at the forefront of interest, along with the increasing amount of research data published on their positive biological impact [
1,
2,
3,
4,
5,
6,
7,
8]. As they are widely used in the food industry and natural medicine, reliable analysis and accurate detection are of utmost significance. Hence, our study focuses on the elaboration of an efficient analytical method based on an improved sample-preparation procedure with improved environmentally friendly features. The focus point of our research was to investigate the association between variations in thermal treatment conditions and the detectability of volatile components in five distinctive medicinal plant species.
Among the most promising species are oregano (
Origanum vulgare L.), basil (
Ocimum basilicum L.), rosemary (
Rosmarinus officinalis L.), thyme (
Thymus vulgaris L.), and yarrow (
Achillea millefolium L.), all of which possess diverse and potent volatile profiles (
Table 1). Key bioactive constituents such as thymol, carvacrol, eucalyptol (1,8-cineole), limonene, and eugenol are known to contribute to both plant defense and beneficial physiological effects in animals and humans. Their inclusion in animal feed, for instance, can enhance digestion, modulate the gut microbiota, reduce inflammation, and support immune function—making them attractive natural alternatives to synthetic additives or antibiotics. From a human health perspective, these phytochemicals may support cardiovascular health, cognitive function, stress reduction, and cellular protection against oxidative stress [
3,
4,
5,
6,
7,
8].
Furthermore, terpenoids, such as thymol, carvacrol, borneol, eucalyptol, camphene, caryophyllene, limonene, and benzene derivatives (e.g., estragole, eugenol) have antioxidant [
3,
4], anti-inflammatory [
5], antibacterial, and antifungal properties [
6,
7,
8]. Another report suggested that limonene, borneol, geranial, and other terpenoids might have antidiabetic and antihypertensive properties [
9]. The abovementioned natural, volatile compounds constitute an integral part of the defense mechanism of plants, while exerting positive effects on animal health and performance; moreover, by entering the food chain, they are also particularly important in human nutrition (SDG 3) [
10,
11]. The addition of medicinal plants and spices to the feed of dairy cattle may have a positive contribution to animal health and welfare, as well as milk production [
12,
13].
The studied volatile compounds have antimicrobial properties that can help to reduce the levels of pathogenic bacteria in the intestinal tract. This can improve the digestion processes and contribute to better feed utilization [
14].
An additional physiological advantage of the volatile compounds of the investigated medicinal plants is that their anti-inflammatory effect can help to minimize intestinal inflammation, which might be a common problem for animals, especially in intensive feeding systems [
15].
It is essential that volatile components, e.g., terpenes, support the immune system of animals via their antioxidant properties, which is particularly important for farm animals kept under stressful conditions [
16].
Terpenes, deriving from medicinal plants rich in volatile compounds, might be considered as natural alternatives to traditional antibiotics and growth promoters, whose use is increasingly regulated or restricted in animal husbandry [
17]. Thus, these medicinal and aromatic plants can be important as alternatives to conventional feed supplements in achieving SDG targets.
Naturally, the abovementioned properties of the selected plants can be observed not only in respect of animal welfare, but also with relevance in human health [
1,
2,
5,
17,
18,
19]. Therefore, their regular consumption and integration into the human diet are of particular importance for contemporary societies that are exposed to increased stress factors and civilization-related harms. Each of the studied plants contributes to maintaining health and preventing various diseases [
1,
16,
17,
18].
On the other hand, the natural antioxidants they contain provide protection against cellular damage and can slow down aging processes [
17]. Due to their effective anti-inflammatory and antimicrobial properties, these medicinal plants can help mitigate harmful processes occurring in the human body [
18].
Oregano, rosemary, and basil, through their inherent antioxidant compounds, help to neutralize the harmful effects of free radicals that are continuously generated in the body [
19]. These plants stimulate the production of digestive enzymes, promote the efficient absorption and bioutilization of nutrients, and reduce bloating or digestion disorders [
1]. The antibacterial, antiviral, and antifungal properties of these medicinal plants contribute to preventing infections and strengthen the immune system, making the body more resistant to diseases. The essential oils of rosemary and basil may improve memory, reduce stress, and support the health of the nervous system [
20,
21,
22,
23]. This is particularly significant in today’s stressful lifestyle.
However, despite the growing interest in these natural volatiles, their analytical detection remains a challenge due to the instability and low abundance of many VOCs. Traditional extraction and purification methods typically involve labor-intensive protocols, high solvent consumption, and expensive instrumentation, which run counter to green chemistry principles. Most of the applied methods require the application of very extensive sample-preparation steps prior to the analysis of the extracted essential oils, mostly via gas chromatography combined with mass spectrometry (GC-MS) [
24,
25,
26,
27,
28]. Traditional and widely used sample-preparation procedures require complex and expensive devices (e.g., cryogenic mill, sonic equipment, centrifuge solid phase microextraction, rotary evaporator, etc.), and in many cases, large amounts of organic solvents, in addition to the production of considerable amounts of waste [
25,
26,
27,
28,
29,
30,
31].
To address these limitations, our study proposes a simplified and environmentally friendly analytical approach for VOC profiling using headspace gas chromatography–mass spectrometry (HS-GC-MS).
The core objective of our research was to investigate how different thermal pretreatment conditions affect the composition and detectability of volatile constituents in the selected medicinal plants. As VOCs are highly sensitive to temperature and prone to degradation, careful optimization of sample preheating is essential for accurate and reproducible analysis. Our enhanced method minimizes organic solvent use, reduces sample-preparation time, and eliminates the need for complex equipment—thereby supporting the development of sustainable volatilomic workflows.
This work contributes to the valorization of VOC-rich medicinal plants by improving access to their bioactive profiles through greener analytical practices. The findings provide a foundation for future applications of these plants in sustainable health-promoting products, including functional foods, nutraceuticals, and natural preservatives.
2. Materials and Methods
2.1. Raw Materials
All the examined medicinal plants were purchased from Fitodry Ltd. (Tiszaföldvár, Hungary). Herb samples were analyzed using near-infrared reflectance spectroscopy (NIRS) by Cumberland Valley Analytical Services (CVAS, Waynesboro, PA, USA), with calibrations based on wet chemistry reference datasets (
Table 2).
2.2. Sample Preparation
In headspace HS-GC-MS analysis, thermal pretreatment of the samples plays a critical role in the detectability of VOCs [
32,
33]. The effect of temperature is significant in several ways, as its increase facilitates the release of volatile components [
32,
33,
34]. This enhances the detectable concentration during the gas chromatographic (GC) injection, resulting in better sensitivity and detectability.
Moreover, increasing the temperature accelerates the attainment of equilibrium. However, at excessively high temperatures, heat-sensitive compounds may degrade or undesirable reactions (e.g., oxidation, Maillard reactions) may occur. This can distort the true VOC profile or lead to the loss of important components [
34,
35,
36].
Matrix effects, such as the type of sample (e.g., plant tissue, powder, extract), also influence how the sample responds to heat treatment. For instance, in plant matrices, heat may rupture cell walls, releasing additional VOCs that otherwise would remain undetected.
Therefore, the establishment of the optimal temperature is crucial. Thus, to avoid unnecessary analytical interference, all the steps of the pretreatment were chosen carefully according to the properties of the targeted molecules (
Table 3).
Based on the assessment of the data in
Table 3, the dried and finely grounded (<100 µm) samples were measured after a gentle preheating process. No complicated time- and reagent-consuming sample pretreatments were used, as the samples were pretreated only mechanically by grounding. The plant material was sheltered from direct sunlight and then stored in double-layered, aroma-sealed aluminum bags at temperatures of 3–5 °C until processing.
In the GC-MS measurement, the preheating temperatures varied between 40 °C and 90 °C as a temperature optimization program. Because most of the tested components remain stable at temperatures up to 90 °C, if higher temperatures are used (e.g., 110–130 °C), the determination of stable components may be better, but the risk of oxidation and degradation increases significantly [
33,
34]. Since our goal was to detect the highest possible number of volatile components, a temperature optimization experiment was performed at different temperatures to determine the most optimal pretreatment temperature. The applied temperature range during the pretreatment is crucial because volatile organic compounds such as terpenes and their derivatives in the studied plant samples can be present in the analytical gas space above the sample even at fairly low temperatures [
32,
33,
34,
35,
36].
2.3. GC-MS Analysis
To test the detectability and thermal stability of volatile components, measurement methods and descriptions were prepared based on an ascending heat profile and temperature preparation.
The metabolome and volatilome were profiled by gas chromatography (8890 GC, Agilent Technologies, Santa Clara, CA, USA) with an Agilent 7000D GC/TQ mass-selective detector. The mass spectrometer was tuned using perfluorotributylamine with masses m/z 69.0, 264.0, and 502.0.
The Gerstel MAESTRO 1.4 software platform was used for efficient automated sample preparation and introduction. The GC-MS system was operated by Agilent MassHunter Acquisition 10.0.384.1 software. To evaluate the obtained data, Mass Spectral Library (NIST 17) was used.
The measurement required the development of 3 methods:
Gerstel MPS method
GC method
MS method
In the MPS Headspace Gerstel method, a 2500 µL 65 mm HS syringe was used at 90 °C with 60 s flush time. For sample preparation, the incubation temperature of the agitator ranged from 40 to 90 °C according to the applied gentle temperature optimization to avoid decomposing processes [
32,
33,
34,
35,
36]. The incubation time was 5.00 min and the agitator speed was 250 rpm. In setting the incubation time, it was very important to use a relatively short time because if the sample is incubated for a longer time (e.g., 20–30 min), a conversion of oxidation-prone compounds (e.g., pinene, terpinene, linalool) may take place.
The injected total volume was 2000.0 µL with 200.00 µL/s injection speed. For the injection, split mode was used with a 10:1 split ratio, so the injected sample volume was 200 µL. In the inlet, the heater temperature was 250 °C, with a total flow of 6.4259 mL/min, and the septum purge flow was 5 mL/min.
In the GC method, the sample inlet was GC with automatic injection. The method run time was 30.333 min, without post-run time.
To perform volatilomic analysis, the temperature program was as follows:
The GC column was operated in the temperature-programmed mode with an initial oven temperature of 40 °C (held for 1 min) and ramp at 180 °C with a 5 °C min−1 rate, with 0 min holding time. To eliminate residuals and avoid carryover, a heating-up ramp was used at 300 °C with a 90 °C min−1 rate and 0 min holding time.
An Agilent 19091S-433UI: 0378217H HP-5MS UI column with 30 m × 250 μm × 0.25 μm dimensions was used. The inert gas was helium (99.999%), flow rate was 0.475 mL/min, average velocity was 25 cm/s, and holdup time was 2 min. The MSD transfer line temperature was 325 °C.
In the MS method, the ion source was EI (70 eV), the source temperature was 230 °C, and a 1 min solvent delay was applied. The data was carried out over a mass range of m/z from 20 to 500; the step size was 0.1 m/z in scan mode.
The HS-GC-MS analysis of organic compounds from the examined herbal samples was performed using 20 mL headspace vials containing 2 g of the dried and ground material. The vials were sealed with PTFE-lined septum and an aluminum crimp cap, and then conditioned for 20 min at 90 °C.
3. Results
In our study, the sample-preparation temperature (agitator temp.) was increased from 40 °C by steps of 10 °C up to 90 °C. We refrained from assessing temperatures higher than 90 ˚C to avoid the potential degradation of certain volatile analytes [
37]. At each temperature, the chromatograms of the different plant samples (basil, yarrow, thyme, oregano, and rosemary) were recorded (
Figures S1–S5; see Supplementary S1–S7). The chromatograms obtained for each plant species at different sample-pretreatment temperatures are presented in
Supplementary S1–S7. In addition to the chromatograms, the names of the identified compounds (based on PubChem), the PubChem IDs, and the CAS numbers are presented, as well as the retention times (Rts) and the base of their identification (matching in the spectral library data) in separated tables (
Table 4,
Table 5,
Table 6,
Table 7,
Table 8 and
Table 9). The identification of a compound was accepted when the match with the spectral library data exceeded 95%. Compound identification in this study was performed tentatively based on comparison of the obtained mass spectra with the NIST library. While spectral matching provides strong evidence for the presence of the reported compounds, retention indices could not be determined due to the lack of an normal-alkane calibration series. Therefore, all compound identifications should be regarded as putative. It should be noted that the primary aim of this study was not the precise identification of individual compounds, but rather to investigate how thermal sample pretreatment affects the appearance of components in the headspace, an approach consistent with common practice in GC–MS studies of complex mixtures.
3.1. Basil Test Results
Based on the chromatograms obtained at 40 °C, it can be concluded that only 1,8-cineole and estragole (Rt = 12.9959 and 17.9963) components could be identified at the applied temperature at basil. The peak at the forepart of the chromatogram refers to no sample component, but an analytical background signal, which might be ascribed to the impurity leaving the column at the beginning of the analysis (
Figure S1A; see Supplementary S1). As the agitator temperature increased, additional terpenes (e.g., α-pinene, camphene, and thymol) and oxygenated compounds appeared in chromatograms, so the number of identified compounds increased.
The retention time, PubChem ID, and CAS number of all identified compounds at different agitator temperatures in the basil sample are presented in
Table 4. Increasing agitator temperature resulted in the detection of a broader range of volatile compounds. At 40–50 °C, only a few major constituents, such as estragole, 1,8-cineole, and p-cymene, were observed, whereas higher temperatures (60–90 °C) enabled the identification of additional monoterpenes, sesquiterpenes, and oxygenated derivatives. Retention times remained quite consistent across the tested range, but compound diversity and complexity increased notably at elevated temperatures.
The results show that at 50 °C (
Figure S1B; see Supplementary S1), in addition to 1,8-cineole and estragole, p-cymene, 3-carene and -methyl cinnamate in the basil sample were already identified by the applied method. At a higher pretreatment temperature (70 °C) (
Figure S1D), in addition to the components detected at lower temperatures, several other volatile compounds, like (1R)-camphor, thymol, limonene, β-myrcene, and some further derivatives could be identified. A total of 21 different compounds were identified at this temperature (
Table 4).
At 80 °C, the decomposition of further volatile organic compounds and the formation of derivatives might be observed. A total of 35 different compounds were identified at this temperature (
Table 4). At this pretreatment temperature, some new compounds appeared in the chromatogram (e.g., fenchone, γ-terpinene, humulene, and caryophyllene) and were also identified.
Compared to the previously presented results, at 90 °C, additional compounds like hexanal, hexenal, and copaene were determined by the simple headspace technique in the case of the basil sample (
Figure S1F; see Supplementary S1).
From these results, it was accordingly found that the extraction efficiency increased with rising temperature, which facilitated the volatilization of compounds from the sample to the overlying HS. Similar results were obtained during optimization of the static headspace GC-MS method for the leaf volatiles of 42 citrus cultivars [
37]. These findings suggested that the extraction efficiency of the VOCs at higher temperatures was higher than at lower temperatures, indicating that temperature has an important influence on the extraction of VOCs.
3.2. Yarrow Test Results
The HS-GC-MS test results of the yarrow plant using different sample-preparation temperatures are demonstrated in the chromatograms (
Figure S2; see Supplementary S2).
Similarly to basil, not many diverse compounds were detected at the lowest pretreatment temperature (40 °C). Only the estragole peak was identified (Rt = 18.0039) (
Figure S2A; see Supplementary S2). This indicates that the sample-preparation temperature used was too low for the volatile organic compounds to be released in the vapor space above the sample.
At higher sample-preparation temperatures (50 °C and 60 °C), ten components were identified, e.g., 1,8-cineole, anethole, β-pinene, and p-cymene, which are typical volatile compounds for yarrow. Furthermore, a heptane and a hexene derivative could also be identified by the HS-GC-MS technique (
Figure S2B,C; see Supplementary S2).
The retention time, PubChem ID, and CAS number of all identified compounds at different agitator temperatures in the yarrow sample are presented in
Table 5.
At 70 °C, 26 distinctive volatile organic compounds could be identified (
Figure S2D; see Supplementary S2 and
Table 5). The most important of these substances are myrcene, cymene, limonene, 1,8-cineole estragole, and β-phellandrene. This indicates the starting decomposition of some of the major components of yarrow, as well as the effective release of volatile terpene derivatives at 70 °C.
The obtained chromatograms show that at 80 °C, even more compounds (39 different derivatives) are released (
Table 5). Beyond the compounds detected at the previous temperatures, various hexa- and hepta-dienes, γ-terpinene, 3-carene, isoborneol, and terpinol were identified (
Figure S2E; see Supplementary S2).
At an even higher temperature (90 °C), 35 different compounds could be identified by means of thermal sample pretreatment (
Table 5). This means that at this temperature, the presence of additional compounds could be confirmed in the yarrow sample, such as hexanol, methyleugenol, and borneol (
Figure S2F; see Supplementary S2).
The chromatograms illustrate that the vertical axis values increase with increasing pretreatment temperatures. This confirms the fact that increasing temperature has a positive effect on the release of components into the vapor space. This result is in agreement with related studies, which show that heat treatment of the samples can accelerate the molecular motion—hence the release of relevant analytical components from the sample—increase the vapor pressure, and improve the sensitivity [
37,
38].
Figure S3 represents the effect of increasing temperature on the components’ peak area. From the total chromatogram, the chosen peak was 3-carene at 15.019 min retention time (see
Supplementary S3). The increasing temperature results significantly enhanced peak area. Similar trends were also observed for other components (
Table 6).
3.3. Thyme Test Results
In the case of thyme, some VOCs (β-myrcene, α-pinene, γ-terpinene, p-cymene, 1,8-cineole, estragole, thymol, etc.) could be identified in the lower temperature range (40–60 °C) (
Figure S4A–C; see Supplementary S4,
Table 7).
When a higher temperature (70 °C) was applied, 21 distinctive derivatives were identified (
Table 5). Beyond the compounds detected at the previous temperatures, various methyl esters, cyclohexene derivatives, isoborneol, and (1R)-camphor were identified by the applied HS method (
Figure S4D; see Supplementary S4).
An increase in sample-preparation temperature of 10 °C allowed for the generation of additional volatile organic compounds. At this temperature (80 °C), aromatic, ester, phenol, and alcohol derivatives could be identified. In total, 29 different compounds were present in the reaction medium (
Figure S4E; see Supplementary S4).
In addition to the compounds detected at the previous temperatures, some additional volatile compounds (mostly esters) were found in the chromatogram obtained when a pretreatment temperature of 90 °C was applied (in total, 37 different compounds were identified). This means that the application of higher temperatures contributes to increased vapor pressure and promotes release of analytes into the headspace [
38,
39].
3.4. Oregano Test Results
At lower temperatures (from 40 °C to 60 °C), only some compounds (6–7 different VOCs), like α-pinene, 1,8-cineole, p-cymene, and limonene were identified in the oregano sample (
Figure S5A–C; see Supplementary S5).
When we applied an increased temperature (70 °C) for sample pretreatment, 17 VOCs were identified (
Figure S5D; see Supplementary S5,
Table 8). Due to the elevated temperature, γ-terpinene, camphene, and (1R)-camphor could also be identified between 10 and 18 min of retention time.
The retention time and CAS number of all identified compounds at different agitator temperatures in the oregano sample are presented in
Table 8.
The gained chromatograms obviously indicate that at 80 °C, 34 different derivatives were detected (
Table 8). In addition to the compounds found at the previous temperatures, various heptane and cyclohexene derivatives, caryophyllene, and α-phellandrene were also identified (
Figure S5E; see Supplementary S5).
The obtained results demonstrate that at 90 °C, the decomposition of distinctive volatile organic compounds and the formation of new derivatives might occur. A total of 41 different compounds were identified at this temperature in the sample (
Table 8). Similarly to the previous temperatures, 1,8-cineole and estragole as main components were identified, as well as 4-carene, cyclohexane, two additional hexenal derivatives, and thujone, which were newly observed compounds at this temperature. At this temperature, the presence of α-terpineol was also detected (
Figure S5F; see Supplementary S5,
Table 8).
In sum, it can be concluded that in oregano (Origanum vulgare L.), low temperatures (40–50 °C) yielded only a few dominant volatiles, including α-pinene, D-limonene, estragole, 1,8-cineole, and p-cymene, while higher temperatures (60–90 °C) facilitated the detection of additional terpenes, sesquiterpenes (e.g., caryophyllene, β-bisabolene), and oxygenated derivatives such as α-terpineol and thymoquinone. Retention times remained highly consistent across all conditions, but compound richness and chemical diversity increased with rising agitator temperature.
3.5. Rosemary Test Results
The HS-GC-MS test results for rosemary plants using different sample-preparation temperatures are shown in the chromatograms (
Figure S6A–F; see Supplementary S6). The retention time and CAS number of all identified compounds at different agitator temperatures in the rosemary sample are presented in
Table 9.
Using the lowest agitator temperature, only 5 different volatile compounds, namely α-pinene, camphene, p-cymene, 1,8-cineole, and (1R)-camphor could be identified, while at 50 °C, some additional compounds like β-pinene, (1S)-, D-limonene, and estragole were also detected (
Figure S6A–B; see Supplementary S6).
The chromatogram obtained at 60 °C indicates that the decomposition and transformation of the volatile organic compounds are initiated at this temperature. A total of 15 different components were identified at 60 °C (
Table 10). This means that when applying 60 °C for the pretreatment, some new peaks appeared, such as camphene, α-terpineol, and myrcene (
Figure S6C; see Supplementary S6).
At 70 °C, more additional volatile organic compounds appeared in the chromatogram (in total, 21 components were identified (
Table 10)). Besides the compounds previously identified at 60 °C, isoborneol, α-pinene, and camphene were also detected (
Figure S6D; see Supplementary S6).
Based on the chromatograms obtained at 80 °C, it can be concluded that at this sample-preparation temperature, the identification of additional compounds is possible. For example, a hexadiene derivative, pinocarvone, and α-phellandrene were also detected (
Figure S6E; see Supplementary S6).
The chromatograms obtained when applying 90 °C for sample preparation allowed the identification of the previously described compounds in addition to o-cymene and toluene (
Figure S6F; see Supplementary S6). This finding is in good correlation with earlier studies [
37,
39,
40] stating that heating of the sample increased the efficiency of the identification.
3.6. Examination of Carry-Over Effect
The headspace (HS) gas chromatography technique is one of the most widely used methods for the determination of volatile organic compounds (VOCs) from various matrices, including plant samples [
29,
36]. Despite its high sensitivity and solvent-free nature, several potential sources of cross-contamination may arise during the HS-based analyses, which can significantly affect both the accuracy and the reproducibility of the measurements.
One of the most common issues is the “carry-over” effect, particularly in the case of concentrated samples. Certain VOCs may adhere to the internal surfaces of the syringe, valves, or injector, and subsequently be introduced into the sample, thereby reducing the measurement reproducibility. To clarify this effect, blank samples were analyzed after the 90 °C thermal pretreatment step. The chromatograms of these measurements are demonstrated in
Figure S7 (see Supplementary S7).
From the chromatograms, it might be concluded that no cross-contamination was observed in any of the blank samples. This indicates that the final applied temperature ramp was effective in removing any residual deposits or contaminants from the system.
The peak at the forepart of the chromatograms refers to no sample component, as it was discussed earlier, but an analytical background signal, which derives from the column at the beginning of the analysis.
4. Discussion
Regarding current challenges related to GC-MS measurement of volatile compounds, in our study, we focused on the elaboration of a simplified sample-preparation procedure minimizing the time required for sample preparation and eliminating the use of organic solvents being hazardous to humans.
The main advantage of this method is that it involves a very limited sample-pretreatment step without the use of many solvents or expensive sample preparation. Plant material (fresh or dried) can be placed in the sample vial and analyzed directly. The only disadvantage of HS is the limitation of the analysis of volatile compounds [
36].
Furthermore, the volatile compounds studied are highly sensitive to temperature, as they have a low decomposition temperature and mostly moderate thermal stability (
Table 3).
However, due to the various sample preheating methods (adjustable agitator temp. and variability of temp. ramps), a large number of biologically active phytochemical compounds can be detected via the HS method without compromising the sensitivity of the components to be tested. Throughout our efforts in method development, the main aim was to investigate how thermal pretreatment patterns affect the detectability of the inherent components, as very few publications are available on this matter.
In the HS-GC-MS technique, thermal treatment of the sample is a critical step during the sample-preparation process. This step allows the volatile components of the sample to be released and transferred into the gas phase without triggering unwanted reactions or degradation. Therefore, it is particularly important to select and apply temperatures that facilitate the transfer of volatile components into the gas phase while avoiding thermal degradation. Therefore, the thermal treatment might be regarded as a particularly critical phase of the analysis, as it ensures the detectability of the appropriate volatile compounds, while minimizing the interference caused by non-volatile or degraded substances during the analysis.
The improved analytical approach in our study signified the untargeted volatilomics, as nowadays it is considered the most common technique used to profile plant volatilomes. The untargeted method emphasizes the detection of all detectable metabolites in the sample [
41]. However, the method suffers from spectral convolution, low sensitivity, limited annotation coverage, and poor reproducibility [
41,
42,
43,
44,
45].
In this study, we did not aim to quantitatively analyze the individual components. The main focus was placed on investigation of the effect of increasing pretreatment temperature on the number of detectable components. The numbers of volatile organic compounds identified at different sample-preparation temperatures for each plant species are shown in
Table 10.
Table 10.
Number of compounds identified for each plant sample as a function of preparation temperature (°C).
Table 10.
Number of compounds identified for each plant sample as a function of preparation temperature (°C).
| | Number of VOCs Identified at Different Pretreatment Temperatures (°C) |
|---|
| Plant | 40 | 50 | 60 | 70 | 80 | 90 |
|---|
| Basil | 2 | 5 | 7 | 21 | 35 | 39 |
| Yarrow | 1 | 10 | 8 | 26 | 39 | 35 |
| Thyme | 8 | 12 | 14 | 21 | 29 | 37 |
| Oregano | 7 | 6 | 7 | 15 | 34 | 41 |
| Rosemary | 5 | 8 | 15 | 21 | 27 | 21 |
Similarly to earlier findings, our results show that for each of the tested plant species, the increase in the sample-preparation temperature leads to an enhanced number of the detected compounds [
33,
34]. While at 40 °C only some of the volatile compounds deriving from the plant samples were detected by the HS-GC-MS technique, at a higher temperature (50 °C), we were able to identify 6–12, at 60 °C, 7–15, at 70 °C, 15–26, at 80 °C, 27–39, and at 90 °C, 21–41 different compounds for each plant species, respectively (
Table 10). The increasing number of peaks appearing in the chromatograms associated with increasing temperatures suggests that the elevated temperature plays a crucial role in the qualitative identification of volatile compounds, as has also been pointed out by other authors [
35,
36,
37,
41].
In
Table 10, the temperature values and the corresponding numbers of the detectable volatile compounds are presented. Numbers in bold refer to compounds deriving from the advanced decomposition processes. Accurate knowledge of the decomposition temperatures is essential not only for the selection of the most appropriate analytical method, but also with respect to modeling real, practical conditions of the processing. As these plant samples are mostly used in high-temperature cooking processes, it is important to be aware of the potential release of new volatile compounds during processing by cooking or baking [
46,
47].
It can be clearly established that as the temperature increased, more compounds could be identified for each plant species tested. However, it can also be observed that equally intense degradation processes did not occur at the same temperature for each plant. For example, in the case of thyme, the release of new volatile organic compounds steaming from decomposition started at 40 °C, while for the other plants it became intensified above 70 °C [
48,
49].
It can also be concluded that the used direct measurement method for each plant species (sample preparation with rising heat profile and headspace technique) is suitable for the identification of the generated volatile organic compounds and their derivatives. Furthermore, it is clear from our results that the number of the identifiable compounds exhibits variation in terms of the type of the diverse plant species. Although in many cases the same compounds appear in the vapor space above the distinct plant species, it might be claimed that the compounds are characteristically typical of each plant species and can be grouped and clearly identified.
Table 11 presents the most important identified compounds in the cases of the studied plant species.
The obtained results show that among the monoterpenes limonene, while among the sesquiterpenes caryophyllene and humulene, were identified by the direct HS-GC-MS method. Among the phenols, we identified thymol, eugenol, and carvacrol. In addition to these compounds, several alkenes and aromatic and unsaturated compounds (cymene, terpinene, camphene, limonene, isoborneol, etc.), as well as ketone, ester, and aldehyde derivatives were also detected [
32,
33,
34,
50,
51].
5. Conclusions
An improved HS-GC-MS method was developed for direct profiling of volatile organic compounds (VOCs) in solid medicinal herbs. The optimized procedure reduces sample-preparation time, eliminates organic solvents, and minimizes environmental impact, consistent with green analytical chemistry principles.
Thermal pretreatment at 70–90 °C enhanced the detection of key volatiles such as mono- and sesquiterpenes, phenols, and aldehydes, without compromising reproducibility. The method is adaptable and resource-efficient, supporting comprehensive metabolite profiling and integration with complementary analyses.
This approach enables the sustainable utilization of VOC-rich herbs and improved recovery of bioactive compounds for functional food and preservative applications. Importantly, the protocol supports several United Nations Sustainable Development Goals, including good health and well-being (SDG 3), industry innovation and infrastructure (SDG 9), and responsible consumption and production (SDG 12).