Volatile Compound Characterization of Coffee (Coffea arabica) Processed at Different Fermentation Times Using SPME–GC–MS

Coffee is a beverage that is consumed due to its flavor and fragrance. In this investigation, we demonstrated the relations between different dry fermentation processes of coffee (aerobic, anaerobic, and atmosphere modified with CO2) and fermentation times (0, 24, 48, 72, and 96 h), with pH, acidity, and seven volatile marker compounds of coffee. Volatile compounds were extracted by solid phase microextraction (SPME) and an analysis was performed by gas chromatography–mass spectrometry (GC–MS). A significant effect (p < 0.05) between the fermentation time and a decrease in pH was demonstrated, as well as between the fermentation time and increasing acidity (p < 0.05). Acetic acid was positively correlated with the fermentation time, unlike 2-methylpyrazine, 2-furanmethanol, 2,6-dimethylpyrazine, and 5-methylfurfural, which were negatively correlated with the fermentation time. The aerobic and anaerobic fermentation treatments obtained high affinity with the seven volatile marker compounds analyzed due to the optimal environment for the development of the microorganisms that acted in this process. In contrast, in the fermentation process in an atmosphere modified with CO2, a negative affinity with the seven volatile compounds was evidenced, because this gas inactivated the development of microorganisms and inhibited their activity in the fermentation process.


Introduction
Coffee is one of the most consumed beverages worldwide [1] due to its flavor and aroma, which are influenced by many factors, including processing methods [2]. Fermentation is a coffee processing method, which is carried out exclusively for mucilage removal. Nevertheless, a relationship between fermentation and the aroma profile has been demonstrated, because a controlled fermentation process contributes to the generation of desirable attributes for coffee quality [3].
Coffee quality depends on physical and sensorial characteristics, such as chemical compound concentrations, which are affected by pectinolytic microorganisms that degrade pulp and mucilage polysaccharides, producing alcohol, acids, and other metabolic compounds, which affect coffee quality [4]. Fermentation can be carried out by three processing methods: dry, wet, and semidry [5]. The process for this investigation was the dry fermentation process.
The dry fermentation process is characterized as aerobic, which maintains a high concentration of the mucilage's glucose, fructose, and pectin, promoting microorganism activity on the pulp by enzymes they generate, improving pectinolytic and cellulolytic activities [4]. Some results indicate that coffee beans processed by the dry fermentation method obtain high concentrations of volatile compounds [2].
Coffee's volatile compounds are aldehydes, ketones, alcohol, esters, pyrazines, furans, acids, nitrogen compounds, and phenolic volatile compounds [6]. These compounds are the fundamental components of the coffee aroma profile, which is the most distinguishing

Coffee Cherry Moisture
The moisture obtained in the recently harvested coffee cherries was 72.1 ± 0.8%, close to the wet optimal value of 70% in the coffee cherry arabica variety cultivated in Brazil [13].

Dissolved Solids of Coffee Cherries
The soluble solids of the coffee cherries were 19.9 ± 1.1 • Brix, a value within the range of 18-21 • Brix obtained in varieties cultivated and harvested in Brazil [14]. Moreover, the coffee cherry used in this investigation was in the optimal range established of 12-24 • Brix for a coffee adequate for harvesting and processing [15].

Coffee Cherry Color
The coffee cherries obtained L* values of 20.04, because the intensity of luminosity decreases depending on ripening stage [16]. The a* value obtained by coffee cherries was 27.44, a higher value than the 17.90 from the ripened coffee cherries of Carvajal, in 2011, which expressed a high concentration of red shades. In addition, the b* value of the coffee cherries was 9.09, a value close to the range of 11.7-11.81, which determines that coffee is mature [16].

Acidity and pH of Coffee Cherries
The coffee cherry acidity was 1.95 ± 0.2 mL of NaOH at 0.1 N/100 g of coffee, and the pH was 5.7 ± 0.1. The acidity and pH of coffee beans depend on the organic acids generated during the maturation stage [17]. The acidity of Cautaí variety coffee, the same used in this study, was 1.12 ± 0.10 of NaOH at 0.1 N/100 g of coffee [18], values lower than those obtained in this study from the time between harvest and the process, because the coffee cherry was still maturating with the formation of different dissolved solids as sugars and acids [15]. A coffee bean, with an initial pH around 5.0, close to the value obtained in this investigation, is adequate for the fermentation process, because the bean has an optimal environment for microorganism development, which is important in this process [19]. The pH data obtained in this investigation were similar to those of Ribeiro in 2018, who obtained a pH of 5.5, and Jackels in 2005, who obtained a pH of 5.5 to 5.7.

pH of Treated Coffee
The decrease in pH was caused by the high population of mesophyll bacteria present in the coffee pulp [20]. Those microorganisms release enzymes that ferment carbohydrates and sugars from the mucilage, causing a pH decrease in the coffee bean [21]. Figure 1 shows the pH obtained per treatment and fermentation time.
process [19]. The pH data obtained in this investigation were similar to those of Ribeiro in 2018, who obtained a pH of 5.5, and Jackels in 2005, who obtained a pH of 5.5 to 5.7.

pH of Treated Coffee
The decrease in pH was caused by the high population of mesophyll bacteria present in the coffee pulp [20]. Those microorganisms release enzymes that ferment carbohydrates and sugars from the mucilage, causing a pH decrease in the coffee bean [21]. Figure 1 shows the pH obtained per treatment and fermentation time. In the dry aerobic fermentation process, the decrease in coffee pH was caused by the numerous population of aerobic bacteria that increased their development, permitting sugar consumption and generating a high content of organic acids, such as lactic and acetic, which decreased the pH of the coffee bean [22]. As the fermentation time elapsed, the pH had a tendency to decrease, because after 96 h of fermentation, each treatment obtained the lowest pH value. For that reason, the fermentation time was important, because it affected the population of microorganisms, and it was established that when the coffee bean pH was close to 4.6, there was an adequate time of fermentation [7].
Microorganisms are affected by the pH, which is why the FAO determined that pH, time, and acidity are critical parameters during the fermentation process, because a pH value between 4 and 5.5 has an impact on coffee quality; with a pH under the lower value of 4, the quality of coffee could be affected by overfermentation [23]. Under that condition, the treatments that showed overfermentation were the dry aerobic fermentation after 48, 72, and 96 h.
Increasing fermentation time restricts the microbial population, maintaining the overfermentation indicators of bacteria, such as lactic acid bacteria tolerant to an acidic environment, which significantly affects coffee quality [19]. Nonetheless, this does not mean that the pH will continue decreasing over time, because it was established that after 64 h, the pH stabilizes [8], as observed in Figure 1. In the dry aerobic fermentation process, the decrease in coffee pH was caused by the numerous population of aerobic bacteria that increased their development, permitting sugar consumption and generating a high content of organic acids, such as lactic and acetic, which decreased the pH of the coffee bean [22]. As the fermentation time elapsed, the pH had a tendency to decrease, because after 96 h of fermentation, each treatment obtained the lowest pH value. For that reason, the fermentation time was important, because it affected the population of microorganisms, and it was established that when the coffee bean pH was close to 4.6, there was an adequate time of fermentation [7].

Acidity of Treated Coffee
Microorganisms are affected by the pH, which is why the FAO determined that pH, time, and acidity are critical parameters during the fermentation process, because a pH value between 4 and 5.5 has an impact on coffee quality; with a pH under the lower value of 4, the quality of coffee could be affected by overfermentation [23]. Under that condition, the treatments that showed overfermentation were the dry aerobic fermentation after 48, 72, and 96 h.
Increasing fermentation time restricts the microbial population, maintaining the overfermentation indicators of bacteria, such as lactic acid bacteria tolerant to an acidic environment, which significantly affects coffee quality [19]. Nonetheless, this does not mean that the pH will continue decreasing over time, because it was established that after 64 h, the pH stabilizes [8], as observed in Figure 1.

Acidity of Treated Coffee
Coffee acidity is an indicator of possible changes in the coffee fruit during the fermentation process, occurring before and after fruit harvest [24]. As the observed pH decreased, as described in Section 2.5, during fermentation time, the acidity increased due to the acids generated from the degradation of pectin and the sugars of coffee [7].
Mucilage acidification is caused by fermentative bacteria, such as lactic and acetic bacteria, and by the process of alcohol acetification [25]. Latic acid and acetic acid bacteria have a high activity during fermentation of coffee, but they are very susceptible to a CO 2 environment, because this gas inhibits their development [25]. This can be observed in Figure 2 in the results obtained in the dry fermentation process in an atmosphere modified with CO 2 , where changes in acidity were not high. Dong, in 2019, obtained a high value of acidity in dry aerobic fermentation process in the same conditions as this study, maintaining the tendency to obtain high acidity by the heterogeneous microorganism activities due to the fermentation environment.
Coffee acidity is an indicator of possible changes in the coffee fruit during the fermentation process, occurring before and after fruit harvest [24]. As the observed pH decreased, as described in Section 2.5, during fermentation time, the acidity increased due to the acids generated from the degradation of pectin and the sugars of coffee [7].
Mucilage acidification is caused by fermentative bacteria, such as lactic and acetic bacteria, and by the process of alcohol acetification [25]. Latic acid and acetic acid bacteria have a high activity during fermentation of coffee, but they are very susceptible to a CO2 environment, because this gas inhibits their development [25]. This can be observed in Figure 2 in the results obtained in the dry fermentation process in an atmosphere modified with CO2, where changes in acidity were not high. Dong, in 2019, obtained a high value of acidity in dry aerobic fermentation process in the same conditions as this study, maintaining the tendency to obtain high acidity by the heterogeneous microorganism activities due to the fermentation environment.

Correlation Analysis: Fermentation Time, pH, and Acidity
The correlation between fermentation time and pH was r = −0.89, which demonstrated that with the increase in fermentation time, the pH decreased. The opposite situation occurred between fermentation time and acidity, whose correlation was r = 0.91, establishing a positive correlation between both parameters. In addition, between pH and acidity, there was a negative correlation of r = −0.93, which showed that both parameters were inversely proportional. In Figure 3, the correlation between the variables was observed, where the symbol *** shows high significance (p < 0.05).

Correlation Analysis: Fermentation Time, pH, and Acidity
The correlation between fermentation time and pH was r = −0.89, which demonstrated that with the increase in fermentation time, the pH decreased. The opposite situation occurred between fermentation time and acidity, whose correlation was r = 0.91, establishing a positive correlation between both parameters. In addition, between pH and acidity, there was a negative correlation of r = −0.93, which showed that both parameters were inversely proportional. In Figure 3, the correlation between the variables was observed, where the symbol *** shows high significance (p < 0.05).

Acetic Acid
The compounds present in a mature coffee cherry are degraded during the fermentation process increasing the formic, lactic, glycolic, and acetic acid content [31]. This occurs because the microorganisms degrade the pulp and mucilage by pectolytic enzyme action, increasing the content of the alcohol and acids, including acetic acid [32]. Acetic acid brings an acceptable flavor of fruit and wine and a fermented aroma [33]. Schwan, in 2012, established that the increment in acetic acid indicates overfermentation, which causes bad coffee quality. Based on that information, Figure 4A shows that the anaerobic and aerobic dry fermentation processes, after 48 h of fermentation, obtained a high content of acetic acid, different to the fermentation in an atmosphere modified with CO 2 , because this gas inhibited acetic acid bacteria developing, as explained in Section 2.6. During aerobic dry fermentation, the acidity increased faster, so it permitted a better consumption of the mucilage substrate and a reduction in acetic acid bacteria due to the acidic conditions of the media [34], decreasing the acetic acid content of the coffee bean by limiting the development of the precursor microorganisms of acetic acid and the consumption of the substrate.
The acetic acid content caused a high decrease in pH in aerobic and anaerobic dry fermentation because the microorganisms developed in optimal conditions [35]. In the dry anaerobic fermentation process, the predominant microorganisms present in the mucilage were lactic acid bacteria Lactococcus, Leuconostoc, and Weissella, which increased the content of lactic and acetic acid [36]. These bacteria were microaerophile aerobic, which means that they can develop in a low oxygen environment; but in the absence of oxygen, these microorganisms ferment sugars from the media [37], which explains the increase in acetic acid in the dry anaerobic fermentation. Otherwise, in the dry aerobic fermentation process, Acetobacter and Gluconobacter were predominant due to the aerobic conditions [38]. The metabolic processes of these bacteria, which are part of the acetic acid bacteria, increased the content of the acetic acid at a long fermentation time [39].

2-Methylpyrazine
2-Methylpyrazine is an indicator compound of coffee cherry quality, which means that when it is present in high concentrations, the coffee is considered high quality [21]. The results in Figure 4B show that the content of 2-methylpyrazine in the dry anaerobic and the atmosphere modified with CO 2 processes decreased, but it was stable after 24 h. The reason why 2-methylpyrazine, as some pyrazines, did not increase during the fermentation process was because these microorganisms did not have a significant impact in terms of content during the fermentation process [40]. Most pyrazines are synthetized from a Maillard reaction, a process that requires a thermal reaction [12]. However, in the dry aerobic fermentation, there was an increase in 2-methylpyrazine until 48 h of fermentation, because the aerobic fermentation of coffee contains a heterogeneous microorganism population [41], while the anaerobic fermentation process contains a homogeneous population [24]. Thus, the microorganisms present in the aerobic fermentation process, which were more heterogeneous, showed high activity in the coffee mucilage. The reduction in the compound is explained in Section 2.9, caused by the consumption of the substrate and the inactivation of microorganisms.

2-Furancarboxaldehyde
The reason that the content of 2-furancarboxaldehyde presented the same behavior between treatments and fermentation times, as observed in Figure 4C, was because the synthesis of furan compounds occurs through the thermal degradation of amino acids and the thermal oxidation of polyunsaturated fatty acids and ascorbic acid [42]; these processes did not occur during fermentation, because it was not a thermal process. Moreover, 2furancarboxaldehyde is consider as a marker of quality in coffee aroma, bringing a smell of roasted candy [43].

2-Furanmethanol
As observed in Figure 4D, the content of 2-furanmethanol did not have significant changes between fermentation the processes and times, due to the mechanisms of reaction necessary for the synthesis of 2-furanmethanol, such as the Maillard reaction, and other thermal processes, such as oxide thermal degradation of polyunsaturated fatty acids, thiamine, nucleosides, sugars presented during caramelization, carbohydrates, ascorbic acid, and unsaturated fatty acids degradation, processes that require thermal intervention [44]. Moreover, 2-furanmethanol adds roasted aromas, and it is generated by the thermal process that degrades carbohydrates and sugars, such as hexoses and pentoses [45]; but the content of 2-furanmethanol cannot be high, because it generates an undesirable burnt and bitter smell [44].   2.8.5. 2,6-Dimethylpyrazine 2,6-Dimethylpyrazine brings a sweet nutty-fruity aroma [11]. The results in Figure 4E determined that during the fermentation time, the content of 2,6-dimethylpyrazine decreased, because this compound has a tendency to decrease during a fermentation process [12]. At controlled times of fermentation, the content of 2,6-dimethylpyrazine decreased, while acid compounds increased [10], because the interaction between carbohydrates and α-amino acids are necessary for the synthesis of 2,6-dimethylpyrazine [46]; so, as the fermentation time increased, complex carbohydrates were degraded to simple carbohydrates [47], reducing the content of the substrate necessary for 2,6-dimethylpyrazine synthesis.
2.8.6. 5-Methylfurfural 5-Methylfurfural brings sensorial characteristics of candy, spice, and maple syrup [40]. As the fermentation time increased, the content of 5-methylfurfural decreased [11], as observed in Figure 4F. The microbiome present during the fermentation process did not affect 5-methylfurfural synthesis, as it maintained its concentrations between treatments [29]. Evangelista, in 2013, demonstrated that different microorganism strains during fermentation did not affect the content of 5-methylfurfural and showed that there was a significant reduction compared with the initial content of the volatile compounds of coffee. Its reduction in content was, as with 2,6-dimethylpyrazine, due to the reduction in complex carbohydrates caused by microbial activity, which are essential substrates for 5-methylfurfural synthesis [6]. Figure 4G, maintained its content until 72 h of fermentation time. After 96 h, the content of 2-methoxy-4-vinylphenol decreased due to the acidic environment of the mucilage, which removed or eliminated the methoxy functional group compounds, such as 2-methoxy-4-vinylphenol, reducing its content in coffee beans [27]. Moreover, 2-methoxy-4-vinylphenol is considered beneficial, because it is an indicator of coffee storage quality, whose content increases at storage conditions of 40 • C and 13.5% of moisture [24]. Furthermore, 2-methoxy-4-vinylphenol is characterized as bringing a spicy and floral aroma; however, it is a susceptible compound, because during coffee processing, 2-methoxy-4-vinylphenol has the tendency to decrease [30].

Correlation Analysis: Volatile Compounds, pH, Acidity, and Fermentation Time
As the fermentation time increased, the pH decreased and the acidity increased; there was a highly significant inversely proportional relation between pH and acidity, as shown in Table 2. The correlation of 2-methylpyrazine (C2), 2-furancarboxaldehyde (C3), 2-furanmethanol (C4), 2.6-dimethylpyrazine (C5), 5-methylfurfural (C6), and 2-metoxy-4vinylphenol (C7) with fermentation time were inversely proportional, in contrast to the acetic acid (C1), which was directly proportional, a tendency reported by Pereira, in 2020, who identified that coffee beans before fermentation processing contained a high content of alcohol and aldehydes, but after fermentation, these compounds decreased, and the content of acids increased. Kim, in 2019, also reported a decrease in volatile compounds in fermented coffee.

Principal Components Analysis (PCA)
A PCA analysis was performed to identify the relation between each fermentation process and the concentration of the seven marker volatile compounds. In Figure 5, the PCA is presented, which explained 71.2% of data in the first and second component. There was an affinity between the seven marker volatile compounds with aerobic and anaerobic fermentation treatment (Figure 5a). This is due to the fact that the microorganisms, such as yeast, Lactobacillus spp., Streptococcus spp., and Enterobacteriaceae were anaerobic facultative, which means that they can develop with oxygen. Nevertheless, in an anaerobic environment, these microorganisms fermented the mucilage's sugars [37]. In another situation, this investigation demonstrated that fermentation in an atmosphere modified with CO 2 had a negative relation with the seven marker volatile compounds (Figure 5b), due to a decrease in enzymatic activity from microorganism inactivation by the presence of CO 2 [25]. 2-Methylpyrazine (C2) showed a better affinity with aerobic fermentation at 24 and 48 h, because there was an inversely proportional relation between this compound and pH [48]. As for acetic acid (C1), its concentration was significantly increased in aerobic fermentation treatments by the heterogeneous aerobic microflora that produced lactic and acetic acid causing a decrease in the coffee mucilage pH, because simple sugars were consumed to produce organic acids [41].
Volatile compounds had a tendency to decrease at 96 h of fermentation, as during the fermentation time, the volatile compounds decreased due to the reduction in precursor substrates and the increase in acid in the fermentation media [10], which explains why the 72 and 96 h aerobic fermentation process and the 96 h anaerobic fermentation process demonstrated a better affinity with acetic acid.
Volatile compounds had a tendency to decrease at 96 h of fermentation, as during the fermentation time, the volatile compounds decreased due to the reduction in precursor substrates and the increase in acid in the fermentation media [10], which explains why the 72 and 96 h aerobic fermentation process and the 96 h anaerobic fermentation process demonstrated a better affinity with acetic acid.

Coffee Processing
A total of 15 kg of Catuaí variety coffee was obtained from El Aguacate Sauces Norte farm, located in Loja, at 2100 m above sea level. The coffee beans were washed to remove dirt, inert matter, biological matter, and coffee beans that did not meet quality standards. Then, the coffee beans were submerged in water inside metal pots with a recirculating water unit to reduce coffee impurities. After that, 700 g of coffee were weighed using a Mettler Toledo scale, putting each amount of weighed coffee into an autoclavable bottle

Coffee Processing
A total of 15 kg of Catuaí variety coffee was obtained from El Aguacate Sauces Norte farm, located in Loja, at 2100 m above sea level. The coffee beans were washed to remove dirt, inert matter, biological matter, and coffee beans that did not meet quality standards. Then, the coffee beans were submerged in water inside metal pots with a recirculating water unit to reduce coffee impurities. After that, 700 g of coffee were weighed using a Mettler Toledo scale, putting each amount of weighed coffee into an autoclavable bottle with a blue thread top (18 in total), each with a capacity of 1000 mL. Each treatment had, in total, 6 bottles.

Moisture
Moisture is important because volatile compounds and some carbohydrates can dissolve in coffee bean oil and water [49]. In an evaporating dish (previously dried at 70 • C and weighed), 10 g of coffee were weighed; then, they were collocated in a vacuum stove OV-12 (Jeio Tech, Daejeon, Korea) at 70 • C and −0.05 MPa of pressure. After 24 h, the samples were put into a desiccator for 30 min. Then, the samples were weighed with a Mettler Toledo scale every 24 h until the sample weight was constant.

Dissolved Solids
Coffee cherry dissolved solids were measured by a digital refractometer (Mettler Toledo, Schwerzenbach, Switzerland). Each measure was made with 3-5 beans, pressing the solids above the equipment lector until they filled the entire interior part. Dissolved solids were used as a ripening and palatability indicator; in addition, in coffee, • Brix reflects the relation between sugars and sensorial characteristics [18].

Color
Coffee color was measured in 10 recently harvested coffee cherry beans. The coffee shell was extracted and set on a white flat surface using a colorimeter CR 14 (Konica Minolta, Tokyo, Japan). The color was reported on an L*a*b* scale.

pH and Acidity
The pH and acidity of the coffee were measured with Mettler Toledo DL15 titration equipment (Zurich, Switzerland). First, 10-12 g of coffee beans were weighed, and the acids present were extracted by maceration with 50 mL of distilled water for 30 min. The pH was then measured and immediately titrated with 0.01 N NaOH until a pH of 8.2 was reached. The results were converted to mL of NaOH at 0.1 N per 100 g of coffee.

Coffee Fermentation
The dry fermentation process was carried out for 24, 48, 78, and 96 h for each treatment: aerobic dry fermentation, anaerobic dry fermentation, and dry fermentation in an atmosphere modified with CO 2 .

Aerobic Dry Fermentation
This treatment consisted of putting the coffee samples into a bottle half covered, maintaining contact with the air, at environmental conditions of 25 • C and 935.6 HPa of pressure.

Anaerobic Dry Fermentation
Uncovered bottles were put in a Lab line vacuum chamber (Chicago, IL, USA) at 15 Hg pressure. The air was evacuated by an electric vacuum bomb, which was used to regulate chamber pressure.

Dry Fermentation in an Atmosphere
Modified with CO 2 Bottles were exposed to a CO 2 gas with the use of a tank; after the exposure, each bottle nozzle contained an air trap coupled to a plastic lid, which was hermetically sealed. Water was added to the air trap to avoid air flow and maintain a modified environment inside the bottle. After taking each sample at the end of the fermentation time, the bottles with the coffee samples were exposed to CO 2 again.

Coffee Drying, Threshing, and Roasting
Each sample, after the fermentation time ended, was dried by an air forced stove at 45 • C until a coffee moisture between 10 and 12% [20] was obtained, weighing samples every 24 h. Then, when the coffee obtained a moisture within the optimal range, samples were threshed with an ING-C-250 thresher (Bogota, Colombia), placed in a container, which was closed with pressure, and threshed to eliminate the mucilage and obtain a green coffee bean. After that, the green coffee beans were roasted with a QuantiK TC 300 A R/G roaster (Quimbaya, Colombia), where the green coffee beans were collocated inside a dumb at 180 • C. During roasting, the temperature was regulated to not exceed 195 • C and not fall below 175 • C. The samples were put into a basket after 12 min of roasting, cooled with a ventilator for 2 min, and re-cooled at an ambient temperature for 10 min. Then, the roasted coffee beans were stored inside Ziploc bags.

Coffee Pulverization
The roasted coffee beans were pulverized by Bunn Coffee Mill equipment (Springfield, IL, USA), which was adjusted to "espresso" mode, pulverizing the coffee into a fine dust. In the equipment hopper, before pulverizing the complete samples, 10-15 beans were added for pre-pulverizing to eliminate the coffee pulverized previously. After this process, the samples were pulverized completely and then stored in Ziploc bags. This pulverized coffee was then ready for extracting and analyzing.

Solid Phase Microextraction (SPME)
The extraction of volatile compounds was carried out using the 50/30 µm PDMS/CAR/ DVB fiber supplied by Supelco (57438-U, Bellefonte, PA, USA), as this fiber coating phase allows the extraction of most of the volatile compounds of coffee compared to other fibers such as PDMS, PA, and PDMS/DVB [46,53]. In a 15 mL amber vial, 2 g of ground roasted coffee, 1.785 g of pure NaCl, 5 mL of distilled water at 93 • C, and a 2 mm stirring magnet were added. Subsequently, the vial was kept for 16 min at 93 • C with constant cooling. After this time, the fiber was exposed to the headspace for 35 min, maintaining the temperature and stirring. After extraction, the SPME fiber was immediately inserted into the injection port of the GC-MS for the desorption step at 250 • C for 5 min.

Gas Chromatography-Mass Spectrometry (GC-MS)
The equipment used for compound analysis was a Thermo Fisher Scientific TRACE 1310 gas chromatograph coupled to a Thermo Fisher Scientific ISQ 7000 mass spectrophotometer (San Jose, CA, USA). The GC detector was flame ionization, connected to a TR-5MS column of 5% phenyl polysilphenylene-siloxane phase Thermo Scientific. The initial temperature of the injection from 0 to 5 min was 40 • C; then, from 5 to 51.667 min, the temperature increased from 40 to 180 • C, and in the last phase, from 51.667 to 63.667 min, the temperature increased from 180 to 250 • C. A cooling period began at 65.000 min, when the temperature reached the maximum of 250 • C. Data obtained were analyzed by Chromeleon 7.3 software (Thermo Fisher Scientific, San Jose, CA, USA, 2020), and the retention peaks of each compound were identified within the following ranges:

Conclusions
The aerobic and anaerobic treatments affected the pH, acidity, and concentration of volatile compounds in the coffee during fermentation, because these environments were optimal for the development of the microorganisms responsible for the fermentation process.
Moreover, in the aerobic treatment, the concentration of acetic acid doubled after 96 h of fermentation. In contrast, 2-methylpyrazine, 2-furanmethanol, 2,6-dimethylpyrazine, and 5-methylfurfural, decreased their concentrations. 2-furancarboxaldehyde and 2-methoxy-4vinylphenol maintained their concentrations during fermentation. Furthermore, a decrease in the concentration of all volatile compounds was found in the CO 2 treatment, due to the inhibition of the development of the microorganisms responsible for fermentation.