
==== Front
Heliyon
Heliyon
Heliyon
2405-8440
Elsevier

S2405-8440(24)12702-8
10.1016/j.heliyon.2024.e36671
e36671
Research Article
Temperature-mediated dynamics: Unravelling the impact of temperature on cuticular hydrocarbon profiles, mating behaviour, and life history traits in three Drosophila species
Baleba Steve B.S. ab
Jiang Nan-Ji ab
Hansson Bill S. hansson@ice.mpg.de
ab⁎
a Department of Evolutionary Neuroethology, Max Planck Institute for Chemical Ecology, Hans-Knöll-Straße 8, D-07745, Jena, Germany
b Next Generation Insect Chemical Ecology, Max Planck Centre, Max Planck Institute for Chemical Ecology, Hans-Knöll-Straße 8, D-07745, Jena, Germany
⁎ Corresponding author. Department of Evolutionary Neuroethology, Max Planck Institute for Chemical Ecology, Hans-Knöll-Straße 8, D-07745, Jena, Germany. hansson@ice.mpg.de
22 8 2024
15 9 2024
22 8 2024
10 17 e3667119 3 2024
19 8 2024
20 8 2024
© 2024 The Authors. Published by Elsevier Ltd.
2024

https://creativecommons.org/licenses/by/4.0/ This is an open access article under the CC BY license (http://creativecommons.org/licenses/by/4.0/).
In a world grappling with climate change, understanding the enduring impact of changes in temperatures on insect adult traits is crucial. It is proposed that cold- and warm-adapted species exhibit specialized behavioural and physiological responses to their respective temperature ranges. In contrast, generalist species maintain more stable metabolic and developmental rates across a broader range of temperatures, reflecting their ability to exploit diverse thermal niches. Here, we explored this intricate response to temperature exposure in three Drosophila species: Drosophila ezoana originating in Arctic regions, D. novamexicana in arid, hot environments, and in the cosmopolitan species D. virilis. Rearing these flies at 15, 20, 25, and 30 °C revealed striking variations in their cuticular hydrocarbon (CHC) profiles, known to mediate mate recognition and prevent water loss in insects. The cold-adapted D. ezoana consistently exhibited reduced CHC levels with increasing temperatures, while the warm-adapted D. novamexicana and the cosmopolitan D. virilis displayed more nuanced responses. Additionally, we observed a significant influence of rearing temperature on the mating behaviour of these flies, where those reared at the extreme temperatures, 15 and 30 °C, exhibiting reduced mating success. Consequently, this led to a decrease in the production of adult offspring. Also, these adult offspring underwent notable alterations in life history traits, reaching adulthood more rapidly at 25 and 30 °C but with lower weight and reduced longevity. Furthermore, among these offspring, those produced by the cold-adapted D. ezoana were more vulnerable to desiccation and starvation than those from the warm-adapted D. novamexicana and the cosmopolitan D. virilis. In summary, our research demonstrates that Drosophila species from diverse ecological regions exhibit distinct responses to temperature changes, as evidenced by variations in CHC profiles, mating behaviours, fertility, and life history traits. This provides valuable insights into how environmental conditions shape the biology and ecology of insects.

Highlights

• Specialized Responses to Temperature: Insect species exhibit distinct behavioural and physiological responses to temperature variations, reflecting their evolutionary adaptations to specific thermal niches.

• Variability in CHC Profiles: Rearing cold, warm and cosmopolitan Drosophila species at different temperatures resulted in significant variations in their cuticular hydrocarbon (CHC) profiles, crucial for mate recognition and water loss prevention.

• Mating Behavior Impacted by Temperature: Extreme rearing temperatures (15 °C and 30 °C) influenced mating behaviour in Drosophila, leading to reduced mating success and subsequent impacts on offspring production.

• Life History Traits: Offspring from varied temperature exposures showed accelerated development at higher temperatures but with compromised weight and longevity, highlighting temperature's role in shaping life history traits.

• Ecological Adaptations: Drosophila species from Arctic, arid, and cosmopolitan regions demonstrated unique responses to temperature changes, underscoring their ecological adaptations and evolutionary strategies.

Keywords

Drosophila species
Temperature
Cuticular hydrocarbons (CHCs)
Mating behaviours
Life history traits
==== Body
pmc1 Introduction

Butterflies, bees, moths, beetles, and flies all display a complete metamorphosis (holometaboly) as they progress through their developmental stages before reaching adulthood [1]. In these insects, the immature stages (eggs, larvae and pupae) have no physical resemblance to the adult stages and undergo substantial morphological and physiological transformations to complete their development. In this process, the hatching egg produces a larva that undergoes multiple moults (or ecdysis), during which the old cuticle is shed and replaced with a new one. This transformation ultimately leads to the formation of a pupa, from which an adult will eventually emerge [2]. During this transformation, a significant restructuring occurs in larval tissues and organs, involving the nervous system, midgut, muscles and cuticle [3]. Going these changes can impose considerable stress and challenges for the insects. Any environmental conditions that are inconsistent or unfavourable can further intensify this stress, potentially impeding the success of the transformation process. A varying environment often triggers plasticity that generates multiple phenotypes in insects with the same genome [4].

Among insect organs, the cuticle is highly susceptible to environmental changes due to its direct exposure to the external world. Within this organ, specialized cells called oenocytes secrete cuticular hydrocarbons [5], which often serve a dual role [6,7]. They protect terrestrial insects against desiccation. For example, using 50 drosophilid species, Wang et al. [8] demonstrated that the composition of cuticular hydrocarbons (CHCs) can explain up to 85.5 % of the variability in desiccation resistance. Also, CHCs serve as signalling molecules in a wide variety of chemical communication systems. They serve as the primary signals to attract conspecific mates for courtship and copulation behaviours, as well as to indicate receptivity, fertility, and mating status [9,10]. The production of cuticular hydrocarbons in adult insects can be influenced by the stress experienced during preimaginal development. For example, in Drosophila mojavensis, adults reared on their natural host (cactus) produced more CHCs as opposed to those reared on laboratory food [11]. Eggs of D. melanogaster ([12,13]) and D. mojavensis [14] incubated under different temperature conditions give rise to adults with different CHC profiles. However, the extent to which these changes in CHC profiles can impact the mating behaviour of insects and the fitness of their subsequent offspring remains uncertain.

The current climate changes, primarily driven by human activities, are causing a rise in global temperatures [9,15]. As a consequence, insects are encountering temperatures beyond what has been present in their historical ranges [16,17]. Cold-adapted species exhibit narrow thermal tolerance ranges centered around lower temperatures, with lower optimal temperatures for growth, reproduction, and metabolism, and are equipped with physiological mechanisms to cope with freezing conditions [18,19]. Warm-adapted species, conversely, have narrow tolerance ranges centered on higher temperatures, higher optimal temperatures, and mechanisms for efficient heat dissipation [20,21]. Generalist species display broad thermal tolerance ranges, intermediate or flexible optimal temperatures, and versatile physiological adaptations, allowing them to thrive across diverse thermal environments [22,23]. Consequently, cold- and warm-adapted species have specialized behavioral and physiological responses to their respective temperature ranges, whereas generalists maintain more stable metabolic and developmental rates across a wider range of temperatures, reflecting their ability to exploit various thermal niches [24,25]. It is postulated that holometabolous insects may exhibit variable thermal adaptations and responses to suboptimal temperatures based on their geographical distribution [[26], [27], [28]]. As reviewed by Hodkinson [29], this adaptation to local climate conditions can happen through shifts in insect behaviour (e.g. mating frequency and duration), fertility, life history traits (e.g. developmental time, body size and longevity) and physiological attributes (e.g. desiccation and starvation resistance). Here, we aimed to investigate how rising rearing temperatures affect the reproduction, fitness, and physiology of insects living in different latitudinal zones. We hypothesized that the composition of the CHC layer in drosophilid species from varying latitudes would change with increasing developmental temperatures. Furthermore, these temperature changes could significantly influence their mating behaviour, fertility, various life history traits (such as developmental time, body size, and longevity), as well as the desiccation and starvation resistance of their offspring. To test our hypothesis, we selected three closely related species within the virilis group: Drosophila ezoana (Holarctic distribution, e.g. Finland), D. novamexicana (Neotropical distribution, e.g. Mexico) and D. virilis (Cosmopolitan distribution). These species have adapted to various climates, particularly different temperature ranges, and display distinct temperature preferences [30].

We analysed the cuticular hydrocarbon compositions of adults of the three drosophilid species when developed at 15, 20, 25, and 30 °C. Next, we investigated whether these flies exhibit distinct mating behaviour depending on rearing temperature. Also, we assessed their fertility and determined the life history traits of their offspring. Finally, we tested how well the offspring could endure extended periods of extreme dryness (desiccation) and food deprivation (starvation). Our study provides comprehensive insights into how insects from various latitudinal regions are likely to respond to the ongoing global warming.

2 Material and methods

2.1 Fly stocks and maintenance

We obtained Drosophila ezoana (stock number: E−15701) from the fly stocks of Kyorin university, Japan (https://shigen.nig.ac.jp/fly/kyorin/index_ja.html), while D. novamexicana (stock number: 15010–1031.08) and D. virilis (stock number: 15010–1051.00) were obtained from the National Drosophila Species Stock Center of Cornell University (https://www.drosophilaspecies.com/). For more than 50 generations, we kept the colonies of these flies under their optimal developmental conditions [30]. We reared D. ezoana at 20 °C, 16 h Light: 8 h Dark, D. virilis at 23 °C 12 h Light: 12 h Dark, and D. novamexicana at 25° C 12 h Light: 12 h Dark. All flies were fed on autoclaved cornmeal-yeast-sucrose-agar food.

2.2 Flies’ preparation and cuticular hydrocarbon analysis

Gravid females of D. ezoana, D. novamexicana, and D. virilis from the stocks were allowed to lay eggs in food vials at low density (20–30) for 5 h. These vials were immediately transferred inside four Snider Scientific incubators (www.snijderslabs.com) set respectively at 15, 20, 25 and 30 °C, all with 70 % humidity and 12 h Light:12 h Dark. Once emerged, flies were collected within 1 h, sexed and returned to their respective developmental incubator. Seven days later, 5 flies of the same sex from each incubator were soaked for 10 min in 200 μl hexane (Fig. 1) containing 1-Bromoeicosane (25 ng/μl) as an internal standard [8,31]. Each body extract sample was analysed by gas chromatography coupled with mass spectrometry (7890B GC System, 5977A MSD, Agilent Technologies,https://www.agilent.com) equipped with a polar column (HP-INNOWAX, 30 m long, 0.25 mm inner diameter, 25 μm film thickness; Agilent) with helium as carrier gas. Each sample (1 μL) was injected into the GC-MS with an autosampler (Agilent Technologies). The inlet temperature was set to 250 °C. The temperature of the GC oven was held at 50 °C for 2 min, increased gradually (15 °C/min) to 250 °C, which was held for 3 min, and then to 280 °C (20 °C/min) and held for 30 min. The MS transfer line, source, and quad were held at 280, 230, and 150 °C, respectively. GC-MS data were processed with the MDS-ChemStation Enhanced Data Analysis software (Agilent). We identified each CHC using the library from the National Institute of Standards & Technology (NIST). For each developmental temperature and species, we injected 5 samples per sex. In every sample, we determined the quantity of each identified CHC by comparing its peak area with that of the internal standard (normalized intensity).Fig. 1 Diagram of the experimental design (Conceived on biorender.com by Steve B. S. Baleba).Drosophila ezoana, D. novamexicana, and D. virilis adults were reared at temperatures of 15 °C (A), 20 °C (B), 25 °C (C), and 30 °C (D) and separated into two groups. Individuals of the first groups were separated by sexes and soaked in hexane for CHCs extraction [(A1), (B1), (C1), and (D1)]. The obtained hexane extracts were subsequently injected into the gas chromatography-mass spectrometry machine. Individuals of the second group were used to conduct mating behaviour experiment at 23 °C in a mating arena for 1 h [(A2), (B2), (C2), and (D2)]. Mated flies were returned to their respective temperature conditions [(A3), (B3), (C3), and (D3)], and their fertility was assessed. Additionally, developmental time, mass (pupae and adults), longevity, desiccation resistance, and starvation resistance of the offspring produced by these mated flies were recorded.

Fig. 1

2.3 Mating assay

To investigate the impact of temperature on the mating behaviour of D. ezoana, D. novamexicana, and D. virilis, virgin individuals of these flies reared at 15, 20, 25, and 30 °C were separated by sex upon emergence, placed in groups (20 individuals per vial), and returned to their respective incubator. Seven days later, a single male and a single female from the same temperature treatment were introduced (using a mouth aspirator) in a courtship chamber and their behaviour was observed for 1 h (Fig. 1). Each courtship arena was equipped with 4 chambers (1 cm diameter × 0.5 cm depth) covered with a plastic slide. A constant airflow of 0.2 mL/min was added from below to each arena. To record the courtship behaviours of the couples, the four chambers were observed simultaneously using a GoPro Camera 4 or Logitech C615. For each developmental temperature, we observed 48 couples. To quantify the mating behaviour of each pair, we manually examined each video to determine mating success (i.e., the percentage of males that managed to mount the females) and mating duration (i.e., the amount of time a male spent on top of the female). All these mating assays were performed at 23 °C and 70 % humidity.

2.4 Fertility assay

To elucidate how temperature impacts the fertility of D. ezoana, D. novamexicana, and D. virilis, each mating pair that managed to mate in the previous experiment was gently collected (using a mouth aspirator) and placed in a vial containing fresh food (13 g) and transferred to their corresponding incubator (previously set at 15, 20, 25, or 30 °C). For each couple, we allowed the female to lay eggs throughout its lifespan and closely observed the progress of egg development until the emergence of adult offspring. This allowed us to count the total number of adult offspring (fertility) produced by each species at different developmental temperatures. Each mating pair was transferred to a new food vial each day.

2.5 Determination of life history traits

During the fertility test, we simultaneously collected data on developmental duration (from egg to adult), pupal mass, and adult body mass (both fresh and dry) in resulting adult offspring. For each experimental temperature, we measured the body mass of 30 pupae/species individually using a Sartorius balance (0.0001 g precision). To determine the fresh adult body mass of each species, we placed 10 males and 10 females from each temperature group into pre-weighed 1.5 mL Eppendorf tubes and recorded the total body mass using a Sartorius balance. For each developmental temperature, species, and sex, 10 independent trials were conducted. To measure the dry body mass in each trial, we took these tubes, placed them in an oven set at 40 °C for 10 min to kill the flies, and then transferred them to room temperature. We subsequently weighed them every two days until a constant mass was noted. The fresh and dry body mass was obtained by subtracting the mass of the Eppendorf tube from the mass of the tube containing the fresh and dry flies, respectively. Under each developmental temperature (15, 20, 25, and 30 °C), we also tested the longevity of the adult offspring produced by each species. To do this, we monitored a group of newly emerged adult offspring (10 males+10 females in one food vial) weekly until the death of the final individual. In each trial, flies were transferred into a new food vial every week and 10 replicates were tested.

2.6 Desiccation and starvation resistance assays

In addition to the precedent life history traits, we also examined the survival capacities of the adult offspring when confronted with prolonged periods of severe dryness (desiccation) and food deprivation (starvation). We evaluated desiccation resistance using the methodology outlined by Chung and Carroll [6]. For each developmental temperature and species, we exposed 10 adult offspring (7 days old) of the same sex to an assay setup (see Wang et al. [8]) containing 10 g of silica gel (S7500-1 KG, Sigma-Aldrich, Darmstadt, Germany). We recorded mortality every 2 h until the last individual succumbed. For the starvation resistance assays, we followed the protocol described by Nayak and Mishra [32]. Here, for each developmental temperature and species, 10 adult offspring (7 days old) of the same sex were removed from the food vial and transferred to a tube containing a moistened cotton plug at the bottom (to prevent death by desiccation). The opening was closed with a dry cotton plug. Mortalities were recorded daily until the death of the last individual. For each developmental temperature and species, we ran 10 independent trials in both desiccation and starvation resistance experiments. We performed all the experiments at 23 °C and 70 % humidity.

2.7 Data analysis

All analyses were conducted in R version 4.3.1 (R Development Core Team, 2023 [33]) and the Paleontological Statistics (PAST) version 3.12 [34] software. To visualize the divergence of the CHCs produced by each species across the different temperatures, we used the nonmetric multidimensional scaling (NMDS) with the Bray-Curtis dissimilarity distance and the analysis of similarity (ANOSIM) test [35]. To compare the normalized intensity of each species' most abundant CHCs across the different developmental temperatures and between sex, we ran the two-way analysis of variance (ANOVA) followed by the Student-Newman-Keul (SNK) posthoc tests, using the R package called “agricolae” [36]. We used the Chi-square test to compare the proportion of mated flies across the rearing temperature and species. To analyse mating duration in relation to rearing temperature and species, we conducted a two-way ANOVA followed by SNK posthoc tests. We used the same test to see whether the fertility, developmental time and body weight (fresh and dry) data varied across the different developmental times and species. We executed Kaplan–Meier survival analysis utilizing functions from the “survival” R package [37], including survfit() and survdiff(), in addition to the pairwise_survdiff() function available in the “survminer” R package (Kassambra et al., 2021). This analysis was conducted to examine variations in the survival of three drosophilid species concerning different rearing temperatures and species, following exposure to either desiccation or food deprivation. Also, the same analysis was used to compare the longevity data across the different rearing temperatures and species. To analyse the median lethal time data from the desiccation and starvation resistance bioassays as well as the longevity assays, we employed a two-way ANOVA, subsequently conducting SNK posthoc tests. Before running the ANOVA test, the normality (Shapiro test: P>0.05) and the homoscedasticity (Bartlett test: P>0.05) assumptions were verified. Statistical results were considered significant when P < 0.05.

3 Results

3.1 Different rearing temperatures affect the CHC composition in D. ezoana, D. novamexicana and D. virilis

Rearing temperature significantly affected the composition of cuticular hydrocarbons (CHCs) in the three drosophilid species (Fig. 2). The non-metric multidimensional scaling plots clearly segregated the body extract samples of D. ezoana (Fig. 2A; ANOSIM: R = 0.8021, P<0.0001), D. novamexicana (Fig. 2B; ANOSIM: R = 0.7398, P<0.0001), and D. virilis (Fig. 2C; ANOSIM: R = 0.6909, P<0.0001) based on rearing temperatures. In D. ezoana, individuals developed at 15 and 20 °C had CHCs with higher normalized intensity, as opposed to those developed at 25 and 30 °C (Fig. 2A). This was the case for CHCs including heneicos-1-ene (male-specific) and 2-methyl octacosane, and alcohols including 2-heptacosanol, (Z)-13-docosen-1-ol, acetate octadecen-1-ol. In D. novamexicana, compared to individuals developed at 15 and 20 °C, those from 25 followed by 30 °C produced more (Z)-9-tricosene (Fig. 2B). Furthermore, in a sex-dependent manner, individuals that developed at 15, 20, and 30 °C produced more 1-heptacosanol and 2-methyl-octacosane than those from 25 °C. While cis-9-eicosen-1-ol was highly produced by D. novamexicana developed at 30 °C, nonacosanal was highly produced by individuals developed at 15 and 20 °C. The production of 2-methyl-triacontane significantly increased with rearing temperature. Also, in D. virilis, some CHC peaks did not undergo a linear reduction with increasing rearing temperature (Fig. 2C). For instance, the peaks of 2-methyltetracosane, (Z)-12-pentacosene, 1-heptacosanol and (Z)-13-docosen-1-ol were significantly reduced, while those of 2-methyl-octacosane and nonacosanal were higher in individuals developed at 25 °C.Fig. 2 The cuticular hydrocarbon (CHC) composition of the three Drosophila species change in function of their rearing temperature. (A) D. ezoana CHC composition when developed at 15 °C, 20 °C, 25 °C, and 30 °C. (B) D. novamexicana CHC composition when developed at 15 °C, 20 °C, 25 °C, and 30 °C. (C) D. virilis CHC composition when developed at 15 °C, 20 °C, 25 °C, and 30 °C. On each figure panel, we present GC-MS chromatogram from different body wash samples, Non-Metric Multidimensional Scaling plot grouping body wash samples based on the rearing temperature, and boxplots illustrating the variation in normalized intensity of the most predominant CHCs across the body wash samples. In each boxplot, the ends of boxplot whiskers represent the minimum and maximum values of all the data and dots show individual data points.

Fig. 2

3.2 Higher rearing temperatures lead to reduced mating

Having shown that increased rearing temperatures significantly affect cuticular hydrocarbon compositions in D. ezoana, D. novamexicana and D. virilis, we next aimed to see whether this would affect the mating behaviour of these flies, as some of the CHCs are known to mediate sexual communication [10]. We found a significant change in both mating percentage (D. ezoana: χ2 = 20.56, df = 3, P<0.001; D. novamexicana: χ2 = 11.81, df = 3, P<0.01; D. ezoana: χ2 = 9.53, df = 3, P<0.05) and duration (D. ezoana: F3-83 = 6.84, P<0.001; D. novamexicana: F3-85 = 43.02, P<0.0001; D. virilis: F3-86 = 25.89, P<0.0001) in flies reared at different temperatures (Fig. 3). In D. ezoana, individuals developed at 20° C mated frequently, while those developed at 30° C mated significantly less often (Fig. 3A, left). Also, flies developed at 30° C showed a shorter mating duration (Fig. 3A, right). In D. novamexicana, individuals developed at 20 and 25° C displayed the highest mating percentage as opposed to those developed at 15 and 30° C (Fig. 3B, left). Additionally, individuals developed at 30° C exhibited a shorter mating duration when compared to those developed at 15, 20 and 25° C (Fig. 3B, right). In D. virilis, flies developed at 20 and 25° C again showed a higher mating percentage as compared to those developed at 15 and 30° C (Fig. 3C, left). Here also, D. virilis couples developed at 30° C mated for a shorter time (Fig. 3C, right). When we compared the mating percentage across the species, we observed that in contrast to D. novamexicana and D. virilis, D. ezoana showed a higher propensity to mate when developed at 15 and 20° C than when they had developed at 25 and 30° C (Supplementary Fig. 1A). We also observed that at both 15 and 30° C, D. novamexicana had a shorter mating duration (Supplementary Fig. 1B).Fig. 3 Rearing temperatures affect the mating behavior of the three Drosophila species. (A) Left, bar graphs showing the variation of mating success in D. ezoana when reared at 15 °C, 20 °C, 25 °C, and 30 °C. Right, violin plots illustrating the change of the mating time of D. ezoana across the different rearing temperature. (B) Left, bar graphs depicting the variation of mating success in D. novamexicana when developed at 15 °C, 20 °C, 25 °C, and 30 °C. Right, violin plots illustrating the change of the mating time of D. novamexicana across the different rearing temperature. (C) Left, bar graphs depicting the variation of mating success in D. virilis when developed at 15 °C, 20 °C, 25 °C, and 30 °C. Right, violin plots illustrating the change of the mating time of D. virilis across the different rearing temperatures. Dots on each violin plot indicate data points from each replicate. Distinct letters on each graph denote significant differences (Mating percentage: Chi-square test; Mating duration: ANOVA followed by the SNK posthoc tests).

Fig. 3

3.3 Developmental temperature affects life history traits

After establishing the impact of rearing temperatures on the mating behaviour of the three drosophilid species, our next objective was to explore whether the treatments also influenced the fitness of the ensuing offspring. We first assessed the ability of the flies to produce viable adult offspring, a measure of fertility. Across the three species, we observed significant variations in fertility corresponding to changes in rearing temperature (Fig. 4A). Specifically, in D. ezoana (Fig. 4A, left; F3-113 = 257. 6, P<0.0001), D. novamexicana (Fig. 4A, middle; F3-103 = 74.83, P<0.0001), and D. virilis (Fig. 4A, right; F3-96 = 25.05, P<0.0001), females developed and maintained at 15 °C and 30 °C produced fewer adult offspring than those developed and maintained at 20 °C and 25 °C. Additionally, it was apparent that at each rearing temperature, D. novamexicana exhibited lower fertility compared to D. ezoana and D. virilis (Fig. 4B).Fig. 4 Rearing temperatures influence the fertility of the three Drosophila species. (A) Bar graphs showing the mean number of offspring produced by females of D. ezoana (left), D. novamexicana (middle) and D. virilis (right) when developed and maintained at 15 °C, 20 °C, 25 °C, and 30 °C. (B) Bar graphs displaying the mean number of offspring produced by females of D. ezoana, D. novamexicana and D. virilis for each rearing temperature. Dots on each bar graph show individual data point. Error bars indicate standard error of the mean (SEM). Bars with different letters are significantly different from each other (ANOVA followed by the SNK posthoc tests; P < 0.05, n = 20–40).

Fig. 4

However, prior to these offspring reaching adulthood, we observed significant changes in their developmental time (Fig. 5A) and pupal mass (Fig. 5B) in response to rearing temperature. In D. ezoana (Fig. 5A, left; F3-7086 = 1259, P<0.0001), D. novamexicana (Fig. 5A, middle; F3-3695 = 1211, P<0.0001), and D. virilis (Fig. 5A, right; F3-6020 = 1785, P<0.0001), offspring developed at 15 °C required a longer time to reach adulthood compared to those developed at 20, 25 and 30 °C. When considering the species as a whole, it was apparent that at 15 °C, D. ezoana offspring, followed by those of D. virilis, exhibited a shorter developmental time compared to those of D. novamexicana (Supplementary Fig. 2A). Moreover, at 30 °C, D. virilis offspring reached adulthood at a faster rate than their counterparts from D. ezoana and D. novamexicana.Fig. 5 Rearing temperatures affect the life history parameters of the offspring produced by the three Drosophila species. (A) Bar graphs showing the mean developmental time of the offspring of D. ezoana (left), D. novamexicana (middle) and D. virilis (right) when developed at 15 °C, 20 °C, 25 °C, and 30 °C. Error bars indicate the standard error of the mean (SEM). Bars with different letters are significantly different from each other (ANOVA followed by the SNK posthoc tests; P < 0.05). (B) Boxplots depicting the pupae weight of D. ezoana (left), D. novamexicana (middle) and D. virilis (right) when developed at 15 °C, 20 °C, 25 °C, and 30 °C. (C) Boxplots depicting the fresh adult (female and male) body weight of D. ezoana (left), D. novamexicana (middle) and D. virilis (right) when developed at 15 °C, 20 °C, 25 °C, and 30 °C. (D) Boxplots depicting the dry adult (female and male) body weight of D. ezoana (left), D. novamexicana (middle) and D. virilis (right) when developed at 15 °C, 20 °C, 25 °C, and 30 °C. (E) Kaplan-Meier curves showing the variation of the longevity of adult offspring produced by D. ezoana (left), D. novamexicana (middle) and D. virilis (right) when developed at 15 °C, 20 °C, 25 °C, and 30 °C. (F) Boxplots illustrating the change of the median lethal time of adult offspring produced by D. ezoana (left), D. novamexicana (middle) and D. virilis (right) when developed at 15 °C, 20 °C, 25 °C, and 30 °C. In each boxplot, the ends of boxplot whiskers represent the minimum and maximum values of all the data and dots show individual data points. Significant differences among the different temperature treatments are depicted by different letters (ANOVA followed by the SNK posthoc tests; P < 0.05, n = 10).

Fig. 5

Furthermore, we observed that pupae of D. ezoana (Fig. 5B, left; F3-115 = 75.73, P<0.0001), D. novamexicana (Fig. 5B, middle; F3-116 = 29.19, P<0.0001), and D. virilis (Fig. 5B, right; F3-116 = 8.799, P<0.0001) displayed increased weight when developed at 15 °C and 20 °C, as opposed to those developed at 25 and 30 °C. When comparing across species, it became evident that pupae from D. ezoana and D. virilis exhibited greater weight at 15 and 20 °C, while at 25 °C and 30 °C, only D. virilis pupae demonstrated a higher weight (Supplementary Fig. 2B).

When adults emerged from these pupae, we observed a significant decrease in their fresh (Fig. 5C–supplementary table 1) and dry (Fig. 5D–supplementary table 2) body weights as developmental temperatures increased. The fresh body mass of adult offspring from D. ezoana (Fig. 5C, left), D. novamexicana (Fig. 5C, middle), and D. virilis (Fig. 5C, right) was highest in individuals developed at 15 °C (with females outweighing males), followed by those at 20, 25, and 30 °C. Notably, at all developmental temperatures except 30 °C, adult offspring of D. novamexicana were lighter in weight compared to that of D. ezoana and D. virilis (Supplementary Fig. 2C). Additionally, adult offspring of D. ezoana (Fig. 5D, left), D. novamexicana (Fig. 5D, middle), and D. virilis (Fig. 5D, right) developed at 15 °C and 20 °C had heavier dry body weights than those developed at 25 °C and 30 °C. When comparing across species, adult offspring of D. novamexicana developed at 15, 20 and 25 °C, consistently exhibited lower dry body weights than those from D. ezoana and D. virilis (Supplementary Fig. 2D).

We also observed that the longevity of adult offspring from D. ezoana (Fig. 5E, left), D. novamexicana (Fig. 5E, middle), and D. virilis (Fig. 5E, right) decreased significantly with increase of developmental temperatures. In the three species, adult offspring developed at 15, 20 and 25 °C lived longer than those developed at 30 °C. Specifically, in the case of D. ezoana (Fig. 5F, left; F3-36 = 91.05, P<0.0001), D. novamexicana (Fig. 5F, middle; F3-36 = 39.16, P<0.0001), and D. virilis (Fig. 5F, right; F3-36 = 69.07, P<0.0001), offspring developed at 15 °C had higher median lethal time (LT50) than to those raised at 30 °C. Furthermore, when comparing across species, we observed that adult offspring of D. novamexicana in general had a shorter longevity than those of D. ezoana and D. virilis (Supplementary Fig. E and F).

3.4 Changes in rearing temperature affect resistance to desiccation and starvation

As in nature, a rise in temperature occasions water loss leading to the reduction of food availability [38], we assessed the desiccation and starvation resistance in the adult offspring of the three drosophilid species as developed at 15, 20, 25 and 30 °C. The results from the desiccation resistance experiment highlighted the significant impact of rearing temperature on the ability of the adult offspring from these species to endure and survive prolonged dry conditions (Fig. 6). In the case of D. ezoana, adult offspring developed at 20 °C and 25 °C exhibited markedly higher resistance to silica gel exposure compared to those raised at 15 °C and 30 °C (Fig. 6A, left), with higher median lethal time (LT50) (Fig. 6A, right; F3-16 = 109.5, P<0.0001). In D. novamexicana, adult offspring developed at 25 °C and 30 °C demonstrated greater desiccation resistance compared to those raised at 15 °C and 20 °C (Fig. 6B, left and right; F3-16 = 15.22, P<0.0001). Similarly, adult offspring of D. virilis developed at 25 and 30 °C exhibited greater resistance to silica gel exposure than those developed at 15 °C and 20 °C (Fig. 6C, left and right; F3-16 = 44.56, P<0.0001). When comparing desiccation resistance across species, it became apparent that at developmental temperatures of 15 °C (Fig. 6D, left and right; F2-57 = 56.02, P<0.0001), 20 °C (Fig. 6E, left and right; F2-57 = 29.7, P<0.0001), 25 °C (Fig. 6F, left and right; F2-57 = 26.81, P<0.0001), and 30 °C (Fig. 6G, left and right; F2-57 = 164.2, P<0.0001), D. virilis, followed by D. novamexicana, displayed the highest levels of resistance to desiccation.Fig. 6 Rearing temperatures influence the desiccation resistance of the offspring produced by the three Drosophila species. (A-C) Kaplan–Meier curves (left) and Boxplots (right) showing respectively the change of the survivorship (after silica gel exposure) and median lethal time of the offspring of D. ezoana (A), D. novamexicana (B) and D. virilis (C) across the different rearing temperatures (15 °C, 20 °C, 25 °C, and 30 °C). (D-G) Kaplan–Meier curves (left) and Boxplots (right) illustrating respectively the variation of the survivorship (after silica gel exposure) and the median lethal time across the three Drosophila species when developed at 15 °C (D), 20 °C (E), 25 °C (F), and 30 °C (G). Each boxplot displays the median and whiskers indicate ±1.5 interquartile range limits. Dots on each box plot show individual data point. Box plots with different letters are significantly different from each other (ANOVA followed by the SNK posthoc tests; P < 0.05, n = 10).

Fig. 6

The response to food deprivation varied among adult offspring of D. ezoana (F3-76 = 13.26, P<0.0001), D. novamexicana (F3-76 = 17.35, P<0.0001), and D. virilis (F3-76 = 5.13, P<0.0001) when reared at different temperatures (Fig. 7). In the case of D. ezoana, individuals that developed at 15 °C demonstrated greater resistance to food deprivation compared to those developed at 20, 25 and 30 °C, with the latter group showing the highest susceptibility to starvation (Fig. 7A, left, right). For D. novamexicana, adult offspring developed at 20, 25 and 30° C were more resistant to starvation than those from 15° C (Fig. 7B, left, right). In D. virilis, adult offspring developed at 15 and 20° C were more starvation resistant than those developed at 25 and 30° C (Fig. 7C, left, right). Only adult offspring developed at 15 °C showed similar starvation resistance across the three species when compared across species (Fig. 7D, left, right; F2-57 = 3.06, P = 0.0547). At developmental temperature of 20 (Fig. 7E, left, right; F2-57 = 25.52, P<0.0001), 25 (Fig. 7F, left, right; F2-57 = 14.13, P<0.0001), and 30° C (Fig. 7G, left, right; F2-57 = 16.29, P<0.0001), adult offspring produced by D. novamexicana followed by those of D. virilis exhibited greater starvation resistance as compared to their counterpart produced by D. ezoana.Fig. 7 Rearing temperature influence the starvation resistance of the offspring produced by the three Drosophila species. (A-B) Kaplan–Meier curves (left) and Boxplots (right) showing respectively the change of the survivorship (after food deprivation) and median lethal time of the offspring of D. ezoana (A), D. novamexicana (B) and D. virilis (C) across the different developmental temperatures (15 °C, 20 °C, 25 °C, and 30 °C). (D-G) Kaplan–Meier curves (left) and Boxplots (right) illustrating respectively the variation of the survivorship (after food deprivation) and the median lethal time across the three Drosophila species when developed at 15 °C (D), 20 °C (E), 25 °C (F), and 30 °C (G). In each boxplot, the ends of boxplot whiskers represent the minimum and maximum values of all the data and dots show individual data points. Box plots with different letters are significantly different from each other (ANOVA followed by the SNK posthoc tests; P < 0.05, n = 10).

Fig. 7

4 Discussion

Variations in rearing temperatures influence the composition of cuticular hydrocarbons (CHCs) in three Drosophila species: D. ezoana, found in Arctic regions; D. novamexicana, native to warm, desert environments and D. virilis, with a cosmopolitan distribution. Temperature changes in parallel affect mating behaviour, fertility, and other life-history traits in all three species, and also influence the desiccation and starvation resistance of the offspring.

4.1 CHC profiles and thermal adaptation

We observed distinct variations in profiles of cuticular hydrocarbon (CHCs) profiles among adult flies of the three drosophilids species when developed at varying temperatures. In the cold-adapted D. ezoana, we observed a consistent decline in the quantity of all CHCs as the developmental temperature increased. Such a trend was not observed in D. novamexicana and D. virilis (Fig. 2). For instance, D. novamexicana individuals developed at 15 and 20 °C produced lower amounts of (Z)-9-tricosene and 2-methyl triacontane compared to those developed at 25 and 30 °C. However, at the same temperature (15 and 20 °C), they synthesized higher amounts of 1-heptacosanol and nonacosanal. Similarly, in D. virilis, adults developed at 15 and 20 °C produced higher quantities of 2-methyl tetracosane, (Z)-pentacosene, (1)-heptacosanol, and (Z)-13-docosen-ol, while displaying lower levels of 2-methyl-octacosane and nonacosanal. These observations highlight that temperature-dependent shifts in CHC profiles are species-specific. In fact, numerous studies conducted at both the intra- and interspecific levels in insects have consistently confirmed the presence of this plasticity in CHC production in response to environmental stress [[39], [40], [41]]. Furthermore, comparative studies across various drosophilid species have revealed that species from warmer climates tend to produce a higher proportion of methyl-branched CHCs, in contrast to those from cooler regions. In our case, we observed that, in addition to the common 2-methyl-octadecane produced by all three drosophilid species, the desert species, D. novamexicana and the cosmopolitan species D. virilis produced 2-methyl-triacontane and 2-methyl-tetracosane, respectively. Wang et al. [8] found a similar trend in Drosophila mojavensis, a desert species known for producing more methyl-branched CHCs. This phenomenon is not unique to Drosophila flies, as other desert insect species such as the stink beetle Eleodes armata [42], the locust Schistocerca gregaria [43], the ants Cataglyphis niger [44], and Pogonomyrmex barbatus [45] also exhibit high proportions of methyl-branched CHCs. Also, some grasshopper and ant species produced more n-alkanes in warmer climates [46,47]. Wang et al. [48] discovered that the ability of D. mojavensis to synthesize these long methyl-branched cuticular hydrocarbons is linked to genetic variations in a fatty acyl-CoA elongase gene (mElo). However, it is important to note that their findings were based on D. mojavensis developed at room temperature. Conducting additional studies using flies developed at different temperatures (as we did) to assess the expression levels of the mElo gene will provide a deeper understanding of how the temperatures experienced during preimaginal development influence CHCs production in flies.

4.2 Mating success

As well as the significant changes in the compositions of CHCs, we observed alterations in the mating behaviour of the three drosophilid species in response to temperature variations during their development. In all three species, individuals developed at 15 °C and 30 °C exhibited lower mating success compared to those developed at 20 °C and 25 °C. This difference can be attributed to the impact of temperature on behaviour, morphology, and physiology [49,50]. Insects that develop at extreme temperatures often experience adverse alterations in their biology, rendering them less competent in successful copulation. Lower temperatures tend to slow down metabolic processes, leading to reduced activity levels and increased time spent seeking warmth or shelter, which in turn limits their opportunities to mate [51]. Conversely, insects developing at higher temperatures exhibit higher metabolic rates, which can make them more agitated and stressed, potentially disrupting their mating behaviours. Extreme temperatures can also influence the production, release, and detection of pheromones, affecting mate location and successful copulation. For example, henicos-1-ene (male specific pheromone) and (Z)-12-pentacosene from D. ezoana and D. virilis respectively are produced in lower amounts by individuals developed at 30 °C that exhibit lower mating success. Conversely, insects developed at more optimal temperatures tend to produce pheromones in quantities sufficient for successful mating. For instance, in D. novamexicana, individuals developed at 25 °C that show higher mating percentage also produce significantly higher amounts of (Z)-9-tricosene.

When comparing across species, we observed that the mating success of D. ezoana as compared to that of D. novamexicana and D. virilis was higher when they developed at 15 and 20 °C. However, developing at 25 and 30° C, this species showed a lower mating percentage. This implies that the cold-adapted species (D. ezoana) may have evolved temperature-dependent reproductive traits that are more effective in colder conditions. Conversely, these traits evolved under warmer conditions in the warm-adapted (D. novamexicana) and the cosmopolitan (D. virilis) species. In D. melanogaster heat resistant flies mate more at elevated temperatures than heat-susceptible ones [52]. Using 12 species of Drosophila species, Schnebel and Grossfield [53] observed that changes in temperature-dependent mating reflect differences in their thermal adaptation and geographic distributions. Moreover, high temperatures may decrease pheromonal CHC levels, leading to lower mating success. However, we observed an exception with D. virilis, where there was a significant decrease in (Z)-12-Pentacosene at 25 °C compared to 20 °C, yet the mating success percentage remained similar at both temperatures. One possible explanation is that mating in D. virilis depends not only on pheromones but also on courtship songs [54].

In addition to the observed changes in the mating success of the three drosophilid species, we also noted a substantial reduction in mating duration with the rise in developmental temperature. This change is likely a result of various factors, including changes in developmental speed, metabolic rates, behaviour and environmental conditions. Collectively, these factors contribute to shorter mating durations in insects exposed to higher temperatures during their development. The three drosophilid species had shorter developmental times (Fig. 5A) and lifespan (Fig. 5E and F) when developed at higher temperatures. Under such a scenario, insects may have less time available for mating before they reach the end of their natural lifespan [55]. Furthermore, the increased metabolic activities in insects when developed at higher temperatures can result in quicker exhaustion of energy reserves, reducing the duration of mating activities [56]. Moreover, insects developed at higher temperatures are perpetually exposed to heat and desiccation stress and tend to allocate fewer resources to reproduction and invest more in behavioural and physiological strategies aimed at bolstering their resilience to environmental stressors [57]. This negative relationship between temperature and mating duration has also been observed in studies involving different insect species, such as the Japanese beetle Popillia japonica, bugs including Anthocoris tomentocus, A. whitei, A. nemoralis; [58], and the beetle Callosobruchus chinensis.

4.3 Fertility and life-history traits

We observed significant changes in fertility among the three drosophilid species in response to variations in their developmental temperatures. Specifically, individuals reared at 30 °C and 15 °C exhibited reduced production of adult offspring compared to those developed at 20 °C and 25 °C. These findings align with Cohet and David [59] who demonstrated that D. melanogaster females raised at various temperatures (ranging from 12 °C to 32 °C) produced more adult offspring when reared at 21 °C and 25 °C. Similar outcomes were also evident in Drosophila suzikii. Our study further revealed that flies reared at 15 °C and 30 °C displayed a decreased mating percentage, providing a potential explanation for the reduced adult offspring at these extreme temperatures. Additionally, extreme temperature conditions can adversely affect sperm production and viability in male insects, leading to diminished fertility due to lower fertilization success. For example, Gandara and Drummond-Barbosa [60] observed that D. melanogaster males reared at 29 °C produced fewer and lower-quality sperm, resulting in less efficient egg fertilization. This loss of fertility after exposure to high temperatures plays an important role in shaping the global distribution of several Drosophila species [61,62]. Ovariole number emerged as another critical factor directly impacting fertility. Klepsatel et al. [63] found that D. melanogaster females developed at 17 °C and 29 °C exhibited lower ovariole numbers and displayed decreased fertility compared to those reared at 25 °C. Moreover, insect eggs are highly sensitive to both high and low temperatures, which can disrupt their development, reduce hatchability and result in the production of non-viable offspring [64]. Among the three species, D. novamexicana produced fewer adult offspring. Notably, D. novamexicana females displayed a lower fresh body weight in comparison to D. ezoana and D. virilis females (see Supplementary Fig. 2C). According to Berger et al. [65], female body size is a reliable predictor of fertility in general. Larger female insects can accumulate more resources and convert them into eggs, often yielding more viable adult offspring. This positive correlation between body size and fertility is also found in various insect species including the moth Streblote panda [66], the beetle Callosobruchus chinensis [67,68], and the flies Drosophila malerkotliana and D. bipectinate [69].

We observed that as the developmental temperature increased, the females of the three drosophilid species produced adult offspring characterized by shorter development periods, decreased pupal and adult weights (both fresh and dry) and reduced longevity. Indeed, insect development is governed by enzymes whose activities increase in warmer conditions, consequently accelerating crucial chemical reactions essential for growth, moulting, and overall development [70,71]. The observed reduction in size in our study can be attributed to accelerated development at higher temperatures, which offers the flies less time for feeding, growth, and nutrient storage before their pupation and emergence [72]. Like in many ectotherms, our three drosophilid species follow the temperature-size rule (TSR) stating that in insects, an increase in developmental temperature leads to a decrease in final adult size [73,74]. Using D. melanogaster, Li and Gong [75] demonstrated that development under cold conditions increases the production of insulin-like peptides leading to an increase in body size. Furthermore, apart from the reduction in body size, our study also uncovered a decrease in the lifespan of adult offspring produced by these three drosophilid species. A study using D. melanogaster from different genetic backgrounds showed that as temperature increases, the metabolic rate of insects rises, leading to higher energy expenditure and faster depletion of stored resources, thereby shortening their lifespan [76]. Additionally, elevated temperatures can raise the production of detrimental reactive oxygen species (ROS) within the insect's body, potentially causing damage to cellular components and leading to oxidative stress, which is linked to both ageing and diminished longevity [77,78].

When compared at the species level, D. novamexicana exhibited smaller body size and decreased longevity in comparison to D. ezoana and D. virilis (Supplementary Fig. 2). In many insects including moths [79], cockroaches [80], and mosquitoes [[81], [82], [83]], smaller individuals tend to have shorter lifespans. This phenomenon can be attributed to the fact that smaller insects tend to be less efficient at accumulating food reserves and typically exhibit higher metabolic rates. Consequently, these factors can lead to accelerated ageing and a subsequent reduction in their overall lifespan [84].

4.4 Desiccation and starvation resistance

We found intra and interspecific variations of desiccation resistance in the three drosophilid species when developed at different temperatures. The flies exhibited lower resistance to water loss when developed at 15 °C. Adult insects emerging from development at lower temperatures, consistently exhibit increased susceptibility to desiccation stress due to reduced prior exposure to dehydration stress (Bong et al., 2021a; [85]). On the other hand, non-lethal exposure to desiccation stress during development increases resistance to subsequent exposures [86]. This might explain why, when developed at 25 and 30 °C, the flies showed high desiccation resistance. When compared across species, the cold-adapted species (D. ezoana), was less resistant to water loss compared to the warm-adapted (D. novamexicana) and cosmopolitan (D. virilis) species. In fact, xeric-adapted and cosmopolitan insects like D. novamexicana and D. virilis respectively are generally more resistant to desiccation compared with mesic-adapted insects like D. ezoana ([87]; Matzkin et al., 2009a). This is mainly because they produce a higher number of methyl-branched CHCs as we previously elucidated (Fig. 2). Indeed there is a causal association between CHCs and desiccation survival [88], where an increase in desiccation resistance is associated with a high CHCs proportion [89].

We also observed changes in starvation resistance in response to variation in developmental temperature. In D. melanogaster, exposure to low temperatures during preimaginal development diminishes resistance to starvation, whereas higher temperatures enhance it [90]. However, this was not the case in our three species. In particular, the cold-adapted D. ezoana and, to some extent, the cosmopolitan D. virilis exhibited heightened starvation resistance when developed at 15 °C (Fig. 7A and C). Conversely, individuals from the warm-adapted species, D. novamexicana (Fig. 7B), displayed reduced resistance to starvation when subjected to the same developmental temperature. When developed at 30 °C, D. ezoana experienced a significant reduction in starvation resistance compared to D. novamexicana and D. virilis. Matzkin et al. [91] observed that cactophilic drosophilid species, adapted to arid or desert regions, tend to withstand longer periods of food deprivation than their fruit-breeding counterparts. Insects in arid or desert regions often experience prolonged periods of food scarcity. They have evolved physiological and behavioral adaptations to reduce metabolic rates, optimize water use, and store energy more efficiently to survive extended periods of starvation [92]. This provides a plausible explanation why D. novamexicana exhibited the highest starvation resistance. Additionally, earlier research by Da Lage et al. [93] unveiled that Afrotropical D. melanogaster flies, which inhabit hot environments, are approximately twice as resistant to starvation as their temperate counterparts, providing further insight into the complex relationship between developmental conditions and starvation resistance in drosophilid species.

5 Conclusion

We studied the impact of rearing temperature on three Drosophila species—D. ezoana, D. novamexicana, and D. virilis—across various facets, including cuticular hydrocarbon profiles, mating behaviour, fertility, life history traits, and desiccation and starvation resistance. Notably, each species exhibited unique variations in cuticular hydrocarbon profiles in response to different developmental temperatures, a phenomenon consistent with the notion that species from warmer climates tend to produce more methyl-branched CHCs. Mating behaviour was significantly affected by developmental temperature, with 15 °C and 30 °C leading to lower mating success, potentially attributed to alterations in behaviour, physiology and pheromone production. Furthermore, flies developed at 15 °C and 30 °C displayed reduced fertility, influenced by factors such as mating success and duration. The study also revealed that higher temperatures resulted in smaller body sizes and decreased lifespans in adult offspring, driven by accelerated development. In terms of resistance to desiccation and starvation, the warm-adapted and cosmopolitan species demonstrated greater resistance due to their higher proportion of cuticular hydrocarbons in comparison to the cold-adapted species. Despite all three species having experienced long breeding under laboratory conditions, potentially fostering experimental evolution, however, our findings suggest that various species with different thermal adaptations will indeed be affected by the global rise in temperature, particularly concerning their physiological chemistry and behaviours. Taken together, our study underscores the intricate relationship between developmental temperature, ecological adaptation and various life history traits, contributing valuable insights into how changes in environmental factors shape the biology and ecology of distinct species.

Funding information

This research was supported through funding by the 10.13039/501100004189 Max Planck Society and specifically through funding to the Max Planck Center “Next Generation Insect Chemical Ecology.”

Data availability statement

The data supporting the findings of this study will be accessible on https://figshare.com/website upon manuscript acceptance.

CRediT authorship contribution statement

Steve B.S. Baleba: Writing – review & editing, Writing – original draft, Visualization, Validation, Software, Project administration, Methodology, Investigation, Formal analysis, Data curation, Conceptualization. Nan-Ji Jiang: Writing – review & editing, Visualization, Methodology. Bill S. Hansson: Writing – review & editing, Validation, Supervision, Funding acquisition.

Declaration of competing interest

The authors declare no conflicts of interest associated with the research presented in this manuscript titled "Temperature-mediated dynamics: unraveling the impact of temperature on cuticular hydrocarbon profiles, mating behavior, and life history traits in three Drosophila species."

We affirm that this study was conducted with integrity and adhered to the highest ethical standards in scientific research. There are no financial, personal, or professional interests that could influence the objectivity or interpretation of the findings reported in this manuscript.

Furthermore, we confirm that no external funding sources or affiliations have influenced the design, execution, or reporting of this research. Our commitment remains solely to advancing scientific knowledge in the field of insect ecology and behavior, contributing to the broader understanding of the effects of temperature on insect biology and ecology.

Appendix A Supplementary data

The following is the Supplementary data to this article:Multimedia component 1

Multimedia component 1

Multimedia component 2

Multimedia component 2

Acknowledgements

We express our gratitude to Angela Lehmann for her invaluable assistance in configuring and setting up the incubators.

Appendix A Supplementary data to this article can be found online at https://doi.org/10.1016/j.heliyon.2024.e36671.
==== Refs
References

1 Rolff J. Johnston P.R. Reynolds S. Complete metamorphosis of insects Phil Trans R Soc B 374 2019 20190063 10.1098/rstb.2019.0063
2 Hall M.J.R. Martín-Vega D. Visualization of insect metamorphosis Phil Trans R Soc B 374 2019 20190071 10.1098/rstb.2019.0071
3 Tettamanti G. Casartelli M. Cell death during complete metamorphosis Phil Trans R Soc B 374 2019 20190065 10.1098/rstb.2019.0065
4 Yoon K.J. Cunningham C.B. Bretman A. Duncan E.J. One genome, multiple phenotypes: decoding the evolution and mechanisms of environmentally induced developmental plasticity in insects Biochem. Soc. Trans. 51 2023 675 689 10.1042/BST20210995 36929376
5 Schal C. Sevala V.L. Young H.P. Bachmann J.A.S. Sites of synthesis and transport pathways of insect hydrocarbons: cuticle and ovary as target tissues Am. Zool. 38 1998 382 393 10.1093/icb/38.2.382
6 Chung H. Carroll S.B. Wax, sex and the origin of species: dual roles of insect cuticular hydrocarbons in adaptation and mating Bioessays 37 2015 822 830 10.1002/bies.201500014 25988392
7 Holze H. Schrader L. Buellesbach J. Advances in deciphering the genetic basis of insect cuticular hydrocarbon biosynthesis and variation Heredity 126 2021 219 234 10.1038/s41437-020-00380-y 33139902
8 Wang Z. Receveur J.P. Pu J. Cong H. Richards C. Liang M. Chung H. Desiccation resistance differences in Drosophila species can be largely explained by variations in cuticular hydrocarbons Elife 11 2022 e80859 10.7554/eLife.80859
9 Kabir M. Habiba U.E. Khan W. Shah A. Rahim S. Ali L. Shafiq M. Climate change due to increasing concentration of carbon dioxide and its impacts on environment in 21st century; a mini review J. King Saud Univ. Sci. 35 2023 102693 10.1016/j.jksus.2023.102693
10 Khallaf M.A. Cui R. Weißflog J. Erdogmus M. Svatoš A. Dweck H.K.M. Valenzano D.R. Hansson B.S. Knaden M. Large-scale characterization of sex pheromone communication systems in Drosophila Nat. Commun. 12 2021 4165 10.1038/s41467-021-24395-z 34230464
11 Etges W.J. Oliveira C.C. Premating isolation is determined by larval rearing substrates in cactophilic Drosophila mojavensis. X. Age‐specific dynamics of adult epicuticular hydrocarbon expression in response to different host plants Ecol. Evol. 4 2014 2033 2045 10.1002/ece3.1088 25360246
12 Rajpurohit S. Vrkoslav V. Hanus R. Gibbs A.G. Cvačka J. Schmidt P.S. Post‐eclosion temperature effects on insect cuticular hydrocarbon profiles Ecol. Evol. 11 2021 352 364 10.1002/ece3.7050 33437434
13 Savarit F. Ferveur J.-F. Temperature affects the ontogeny of sexually dimorphic cuticular hydrocarbons in Drosophila melanogaster J. Exp. Biol. 205 2002 3241 3249 10.1242/jeb.205.20.3241 12235202
14 Gibbs A.G. Louie A.K. Ayala J.A. Effects of temperature on cuticular lipids and water balance in a Desert Drosophila: is thermal acclimation beneficial J. Exp. Biol. 201 1998 71 80 10.1242/jeb.201.1.71 9390938
15 Winkler A. Jung J. Kleinhenz B. Racca P. A review on temperature and humidity effects on Drosophila suzukii population dynamics Agric. For. Entomol. 22 2020 179 192 10.1111/afe.12381
16 Deutsch C.A. Tewksbury J.J. Huey R.B. Sheldon K.S. Ghalambor C.K. Haak D.C. Martin P.R. Impacts of climate warming on terrestrial ectotherms across latitude Proc. Natl. Acad. Sci. U.S.A. 105 2008 6668 6672 10.1073/pnas.0709472105 18458348
17 Ma C.-S. Ma G. Pincebourde S. Survive a warming climate: insect responses to extreme high temperatures Annu. Rev. Entomol. 66 2021 163 184 10.1146/annurev-ento-041520-074454 32870704
18 Somero G.N. The physiology of global change: linking patterns to mechanisms Ann. Rev. Mar. Sci 2 2010 19 46 10.1146/annurev.marine.010908.163834
19 Hoffmann A.A. Chown S.L. Clusella-Trullas S. Upper thermal limits in terrestrial ectotherms: how constrained are they? Funct. Ecol. 27 4 2013 934 949 10.1111/j.1365-2435.2012.02036.x
20 Huey R.B. Kearney M.R. Krockenberger A. Holtum J.A. Jess M. Williams S.E. Predicting organismal vulnerability to climate warming: roles of behaviour, physiology and adaptation Phil. Trans. Biol. Sci. 367 1596 2012 1665 1679 10.1098/rstb.2012.0005
21 Angilletta M.J. Thermal Adaptation: A Theoretical and Empirical Synthesis 2009 Oxford University Press
22 Gabriel W. Lynch M. The selective advantage of reaction norms for environmental tolerance J. Evol. Biol. 5 1 1992 41 59 10.1046/j.1420-9101.1992.5010041.x
23 Kingsolver J.G. Huey R.B. Size, temperature, and fitness: three rules Evol. Ecol. Res. 10 2 2008 251 268 10.1016/j.tree.2008.01.005
24 Sunday J.M. Bates A.E. Dulvy N.K. Global analysis of thermal tolerance and latitude in ectotherms Proc. Biol. Sci. 278 1713 2011 1823 1830 10.1098/rspb.2010.1295 21106582
25 Angilletta M.J. Oufiero C.E. Leache A.D. Direct and indirect effects of environmental temperature on the evolution of reproductive strategies: an information-theoretic approach Am. Nat. 168 5 2006 E123 E135 10.1086/507880 17004215
26 Hoffmann A.A. Physiological climatic limits in Drosophila: patterns and implications J. Exp. Biol. 213 2010 870 880 10.1242/jeb.037630 20190112
27 Kingsolver J.G. Arthur Woods H. Buckley L.B. Potter K.A. MacLean H.J. Higgins J.K. Complex life cycles and the responses of insects to climate change Integr. Comp. Biol. 51 2011 719 732 10.1093/icb/icr015 21724617
28 Porcelli D. Gaston K.J. Butlin R.K. Snook R.R. Local adaptation of reproductive performance during thermal stress J. Evol. Biol. 30 2017 422 429 10.1111/jeb.13018 27862539
29 Hodkinson I.D. Terrestrial insects along elevation gradients: species and community responses to altitude Biol. Rev. 80 2005 489 10.1017/S1464793105006767 16094810
30 Baleba S.B.S. Mahadevan V.P. Knaden M. Hansson B.S. Temperature-dependent modulation of odor-dependent behavior in three drosophilid fly species of differing thermal preference Commun. Biol. 6 2023 905 10.1038/s42003-023-05280-5 37666902
31 Savage B. Wang Z. Chung H. Masten S. Grieshop M. An ozonolysis based method and applications for the non-lethal modification of insect cuticular hydrocarbons J. Chem. Ecol. 47 2021 628 641 10.1007/s10886-021-01285-8 34159435
32 Nayak N. Mishra M. Estimation of oxidative stress and survorship in Drosophila Cap 11 Mishra M. Fundamental Approaches to Screen Abnormalities in Drosophila, Springer Protocols Handbooks 2019 Springer New York 123 134 10.1007/978-1-4939-9756-5_11
33 R Core Team _R: A Language and Environment for Statistical Computing_ 2023 R foundation for statistical computing Vienna, Austria https://www.R-project.org/
34 Hammer Ø. Harper D.A.T. Ryan P.D. PAST: Paleontological statistics software package for education and data analysis Palaeontol. Electron. 4 2001 9 http://palaeo-electronica.org/2001_1/past/issue1_01.htm
35 Ricotta C. Podani J. On some properties of the Bray-Curtis dissimilarity and their ecological meaning Ecol. Complex. 31 2017 201 205 10.1016/j.ecocom.2017.07.003
36 de Mendiburu F. _agricolae: statistical procedures for agricultural research_ R package version 1 2023 3 6 https://CRAN.R-project.org/package=agricolae
37 Therneau T. _A package for survival analysis in R_ R package version 3 2023 5 7 https://CRAN.R-project.org/package=survival
38 Mancosu N. Snyder R. Kyriakakis G. Spano D. Water scarcity and future challenges for food production Water 7 2015 975 992 10.3390/w7030975
39 Botella-Cruz M. Velasco J. Millán A. Hetz S. Pallarés S. Cuticle hydrocarbons show plastic variation under desiccation in saline aquatic beetles Insects 12 2021 285 10.3390/insects12040285 33806018
40 Lima L.D. Ceballos-González A.V. Prato A. Cavalleri A. Trigo J.R. Nascimento F.S.D. Chemical camouflage induced by diet in a pest treehopper on host plants Plants 13 2024 216 10.3390/plants13020216 38256769
41 Otte T. Hilker M. Geiselhardt S. The effect of dietary fatty acids on the cuticular hydrocarbon phenotype of an herbivorous insect and consequences for mate recognition J. Chem. Ecol. 41 2015 32 43 10.1007/s10886-014-0535-9 25516227
42 Hadley N.F. Epicuticular lipids of the desert tenebrionid beetle, Eleodes armata: seasonal and acclimatory effects on composition Insect Biochem. 7 1977 277 283 10.1016/0020-1790(77)90025-7
43 Heifetz Y. Miloslavski I. Aizenshtat Z. Cuticular surface hydrocarbons of desert locust nymphs, Schistocerca gregaria, and their effect on phase behavior J. Chem. Ecol. 24 1998 1033 1047 10.1023/A:1022302519373
44 Soroker V. Hefetz A. Hydrocarbon site of synthesis and circulation in the desert ant Cataglyphis niger J. Insect Physiol. 46 2000 1097 1102 10.1016/S0022-1910(99)00219-X 10817835
45 Johnson R.A. Gibbs A.G. Effect of mating stage on water balance, cuticular hydrocarbons and metabolism in the desert harvester ant, Pogonomyrmex barbatus J. Insect Physiol. 50 2004 943 953 10.1016/j.jinsphys.2004.07.006 15518662
46 Gibbs A.G. Mousseau T.A. Thermal acclimation and genetic variation in cuticular lipids of the lesser migratory grasshopper (Melanoplus sanguinipes): effects of Lipid Composition on Biophysical Properties Physiol. Zool. 67 1994 1523 1543
47 Wagner D. Tissot M. Gordon D. Task-related environment alters the cuticular hydrocarbon composition of harvester ants J. Chem. Ecol. 27 2001 1805 1819 11545372
48 Wang Z. Pu J. Richards C. Giannetti E. Cong H. Lin Z. Chung H. Evolution of a fatty acyl–CoA elongase underlies desert adaptation in Drosophila Sci. Adv. 2023 10.1126/sciadv.adg0328
49 Boullis A. Detrain C. Francis F. Verheggen F.J. Will climate change affect insect pheromonal communication? Current Opinion in Insect Science 17 2016 87 91 10.1016/j.cois.2016.08.006 27720079
50 García‐Roa R. Garcia‐Gonzalez F. Noble D.W.A. Carazo P. Temperature as a modulator of sexual selection Biol. Rev. 95 2020 1607 1629 10.1111/brv.12632 32691483
51 Sinclair B.J. Vernon P. Jaco Klok C. Chown S.L. Insects at low temperatures: an ecological perspective Trends Ecol. Evol. 18 2003 257 262 10.1016/S0169-5347(03)00014-4
52 Stazione L. Sambucetti P.D. Norry F.M. Mating success at elevated temperature is associated to thermal adaptation in a set of recombinant inbred lines of Drosophila melanogaster J. Insect Physiol. 144 2023 104468 10.1016/j.jinsphys.2022.104468 ISSN 0022-1910
53 Schnebel E.M. Grossfield J. Mating-temperature range in Drosophila Evolution 38 1984 1296 1307 10.1111/j.1558-5646.1984.tb05651.x 28563776
54 Hoikkala A. Lumme J. The genetic basis of evolution of the male courtship sounds in the Drosophila virilis group Evolution 41 1987 827 845 28564348
55 Liang L. Zhang S. Han H.L. Xu B.Y. Zhang Y.J. Effects of male age on its mating ability and female reproduction in Bradysia odoriphaga J. Environ. Entomol. 41 2019 657 663
56 Pilakouta N. Baillet A. Effects of temperature on mating behaviour and mating success: a meta‐analysis J. Anim. Ecol. 91 2022 1642 1650 10.1111/1365-2656.13761 35811382
57 Pérez-Staples D. Abraham S. Herrera-Cruz M. Reyes-Hernández M. Tejeda M.T. Arredondo J. Diaz-Fleischer F. Evolutionary consequences of desiccation resistance in the male ejaculate Evol. Biol. 45 2018 56 66 10.1007/s11692-017-9429-4
58 Horton D.R. Lewis T.M. Hinojosa T. Copulation duration in three species of Anthocoris at different temperatures and effects on insemination and ovarian development, (Heteroptera: anthocoridae) at different temperatures and effects on insemination and ovarian development Pan-Pacific Entomol. 78 2002 43 55
59 Cohet Y. David J. Control of the adult reproductive potential by preimaginal thermal conditions: a study in Drosophila melanogaster Oecologia 36 1978 295 306 10.1007/BF00348055 28309916
60 Gandara A.C.P. Drummond-Barbosa D. Chronic exposure to warm temperature causes low sperm abundance and quality in Drosophila melanogaster Sci. Rep. 13 2023 12331 10.1038/s41598-023-39360-7
61 Parratt S.R. Walsh B.S. Metelmann S. Temperatures that sterilize males better match global species distributions than lethal temperatures Nat. Clim. Change 11 2021 481 484 10.1038/s41558-021-01047-0
62 van Heerwaarden B. Sgrò C.M. Male fertility thermal limits predict vulnerability to climate warming Nat. Commun. 12 1 2021 Apr 13 2214 10.1038/s41467-021-22546-w PMID: 33850157; PMCID: PMC8044094 33850157
63 Klepsatel P. Girish T.N. Dircksen H. Gáliková M. Reproductive fitness of Drosophila is maximised by optimal developmental temperature J. Exp. Biol. 2019 10.1242/jeb.202184 jeb.202184
64 Cavieres G. Bogdanovich J.M. Toledo P. Bozinovic F. Fluctuating thermal environments and time‐dependent effects on fruit fly egg‐hatching performance Ecol. Evol. 8 2018 7014 7021 10.1002/ece3.4220 30073063
65 Berger D. Walters R. Gotthard K. What limits insect fecundity? Body size- and temperature-dependent egg maturation and oviposition in a butterfly Funct. Ecol. 22 2008 523 529 10.1111/j.1365-2435.2008.01392.x
66 Calvo D. Molina JMa Fecundity–body Size Relationship and Other Reproductive Aspects of Streblote Panda (Lepidoptera: Lasiocampidae) vol. 98 2005 191 196 10.1603/0013-8746(2005)098[0191:FSRAOR]2.0.CO;2 an
67 Yanagi S. Tuda M. Female size constrains egg size via the influence of reproductive organ size and resource storage in the seed beetle Callosobruchus chinensis J. Insect Physiol. 58 2012 1432 1437 10.1016/j.jinsphys.2012.08.007 23000737
68 Yanagi S.-I. Miyatake T. Effects of maternal age on reproductive traits and fitness components of the offspring in the bruchid beetle, Callosobruchus chinensis (Coleoptera: bruchidae) Physiol. Entomol. 27 2002 261 266 10.1046/j.1365-3032.2002.00294.x
69 Krishna M.S. Hegde S.N. Body size, mating success and advantage of large flies in Drosophila bipectinata species complex Indian J. Exp. Biol. 35 12 1997 1341 1347 PMID: 9567772 9567772
70 Arcus V.L. Prentice E.J. Hobbs J.K. Mulholland A.J. Van Der Kamp M.W. Pudney C.R. Parker E.J. Schipper L.A. On the Temperature dependence of enzyme-catalyzed rates Biochemistry 55 2016 1681 1688 10.1021/acs.biochem.5b01094 26881922
71 Shinoda T. Itoyama K. Juvenile hormone acid methyltransferase: a key regulatory enzyme for insect metamorphosis Proc. Natl. Acad. Sci. U.S.A. 100 2003 11986 11991 10.1073/pnas.2134232100 14530389
72 Hoover M.M. Marks C. Short communication: context matters: adult size is contingent on embryonic temperature in Drosophila melanogaster J. Therm. Biol. 95 2021 102820 10.1016/j.jtherbio.2020.102820
73 Atkinson D. Temperature and organism size—a biological law for ectotherms? Adv. Ecol. Res. 1994 1 58 10.1016/S0065-2504(08)60212-3 Elsevier
74 Ghosh S.M. Testa N.D. Shingleton A.W. Temperature-size rule is mediated by thermal plasticity of critical size in Drosophila melanogaster Proc. R. Soc. A B 280 2013 20130174 10.1098/rspb.2013.0174
75 Li Q. Gong Z. Cold-sensing regulates Drosophila growth through insulin-producing cells Nat. Commun. 6 2015 10083 10.1038/ncomms10083
76 Mołoń M. Dampc J. Kula-Maximenko M. Zebrowski J. Mołoń A. Dobler R. Durak R. Skoczowski A. Effects of temperature on lifespan of Drosophila melanogaster from different genetic backgrounds: links between metabolic rate and longevity Insects 11 2020 470 10.3390/insects11080470 32722420
77 Jena K. Kumar Kar P. Kausar Z. Babu C.S. Effects of temperature on modulation of oxidative stress and antioxidant defenses in testes of tropical tasar silkworm Antheraea mylitta J. Therm. Biol. 38 2013 199 204 10.1016/j.jtherbio.2013.02.008
78 Paital B. Longevity of animals under reactive oxygen species stress and disease susceptibility due to global warming WJBC 7 2016 110 10.4331/wjbc.v7.i1.110 26981200
79 Holm S. Davis R.B. Javoiš J. Õunap E. Kaasik A. Molleman F. Tammaru T. A comparative perspective on longevity: the effect of body size dominates over ecology in moths J. Evol. Biol. 29 2016 2422 2435 10.1111/jeb.12966 27536807
80 Badwan S. Harper J. Size matters: body size is correlated with longevity in speckled cockroaches (Nauphoeta: cineria) Curr. Aging Sci. 14 3 2021 214 222 10.2174/1874609814666210728170119 PMID: 34323204 34323204
81 Barreaux A.M.G. The Relationship between Size and Longevity of the Malaria Vector Anopheles gambiae (s.s.) Depends on the Larval Environment 2018
82 Christiansen-Jucht C. Parham P.E. Saddler A. Koella J.C. Basáñez M.-G. Temperature during Larval Development and Adult Maintenance Influences the Survival of Anopheles gambiae s.S 2014
83 Takken W. Klowden M.J. Chambers G.M. Articles: effect of body size on host seeking and blood meal utilization in Anopheles gambiae sensu stricto (Diptera: Culicidae): the disadvantage of being small J. Med. Entomol. 35 1998 639 645 10.1093/jmedent/35.5.639 9775585
84 Promislow D.E.L. Flatt T. Bonduriansky R. The biology of aging in insects: from Drosophila to other insects and back Annu. Rev. Entomol. 67 2022 83 103 10.1146/annurev-ento-061621-064341 34590891
85 Yoder J.A. Benoit J.B. LaCagnin M.J. Hobbs H.H. Increased cave dwelling reduces the ability of cave crickets to resist dehydration J. Comp. Physiol. B 181 2011 595 601 10.1007/s00360-011-0555-5 21327632
86 Kellermann V. Hoffmann A.A. Overgaard J. Loeschcke V. Sgrò C.M. Plasticity for desiccation tolerance across Drosophila species is affected by phylogeny and climate in complex ways Proc. R. Soc. A B 285 2018 20180048 10.1098/rspb.2018.0048
87 Bong L.-J. Wang C.-Y. Shiodera S. Haraguchi T.F. Itoh M. Neoh K.-B. Effect of body lipid content is linked to nutritional adaptation in the acclimation responses of mesic-adapted Paederus to seasonal variations in desiccation stress J. Insect Physiol. 131 2021 104226 10.1016/j.jinsphys.2021.104226
88 Foley B.R. Telonis-Scott M. Quantitative genetic analysis suggests causal association between cuticular hydrocarbon composition and desiccation survival in Drosophila melanogaster Heredity 106 2011 68 77 10.1038/hdy.2010.40 20389309
89 Ferveur J.-F. Cortot J. Rihani K. Cobb M. Everaerts C. Desiccation resistance: effect of cuticular hydrocarbons and water content in Drosophila melanogaster adults PeerJ 6 2018 e4318 10.7717/peerj.4318
90 Jang T. Lee K.P. Context-dependent effects of temperature on starvation resistance in Drosophila melanogaster: mechanisms and ecological implications J. Insect Physiol. 110 2018 6 12 10.1016/j.jinsphys.2018.08.004 30099070
91 Matzkin L.M. Watts T.D. Markow T.A. Evolution of stress resistance in Drosophila: interspecific variation in tolerance to desiccation and starvation Funct. Ecol. 23 2009 521 527 10.1111/j.1365-2435.2008.01533.x
92 Zhang D.-W. Xiao Z.-J. Zeng B.-P. Li K. Tang Y.-L. Insect behavior and physiological adaptation mechanisms under starvation stress Front. Physiol. 10 2019 163 10.3389/fphys.2019.00163 30890949
93 Da Lage J. Capy P. David J. Starvation and desiccation tolerance in Drosophila melanogaster: differences between European, North African and Afrotropical opulations Genet. Sel. Evol. 22 1990 381 10.1186/1297-9686-22-4-381
