Introduction

At local scales, anthropogenic habitat disturbance usually modifies microclimatic conditions (e.g. forest canopy loss), resulting in novel thermal challenges for organisms (e.g. open habitats)1,2. In tropical and subtropical forests, recent studies have shown a marked reduction in the abundance and taxonomic and functional diversity of dung beetles in land uses with complete loss of canopy cover, such as pastures devoted to cattle raising2,3,4. In contrast, land uses preserving canopy cover (such as tree plantations and silvopastoral systems) can partially preserve the structure of the dung beetle assemblages of the native forest2,5,6,7. Differences in dung beetle diversity among land uses differing in canopy cover have been associated mainly with a marked increase in ground level temperature2,8,9,10 and with the low tolerance of forest dung beetles to high temperatures (typical of open habitats during the day)3,11,12,13. Although previous studies have suggested that the physiological intolerance of forest dung beetles to high temperatures is a potential constraint to exploit disturbed habitats2,3,14, this hypothesis has never been tested. This knowledge gap on dung beetle thermal biology led us to ask the following question: can the thermal niche of dung beetles explain the occupation of disturbed habitats, and taxonomic and functional changes reported in previous studies? We tested this central question in the southern Atlantic forest of South America, one of the most diverse and threatened ecosystems worldwide15,16,17.

The physiological responses of insects, especially those associated with temperature (endothermy, thermoregulation, thermal tolerance), are some of the main determinants of their spatial18,19 and temporal distribution20,21. Temperature controls several biochemical22,23 and physiological functions, behavior, and development in insects1,24. In terrestrial ecosystems, insects face a wide variety of climatic conditions (e.g. temperature, humidity) among different habitats and throughout the day and year25. Consequently, the thermal components of the ecological niche (thermal niche) partly influence the use of habitat and the daily and seasonal patterns of the activity of individuals18,26,27,28.

In heterothermic flying insects, the thermal niche is defined by the ability to raise body temperature above environmental temperature (defined as excess temperature or endothermy) and the ability to regulate the internal temperature within an optimal range of temperatures (defined as thermoregulation)28. Endothermy, or excess temperature, can be measured as the difference between body and environmental temperature18,25,28,29,30, and this difference is affected primarily by flight muscle activity prior to take-off and during flight28,29,31. Regarding thermoregulation, individuals can regulate their temperature through behavior (e.g. posterior leg posture that affects turbulence convective cooling during the flight)31, morphology (e.g. color, size) and/or physiology (e.g. hemolymph circulation, respiration)1,28. Both the endothermy and thermoregulation of insects have received much attention due to their central role in their ecology (competition for a resource and/or establishment of reproductive pairs), evolution28,32, distribution, and response to climatic changes28,33,34. In dung beetles, two physiological mechanisms of thermoregulation have been described: the abdominal active heat transfer (AAHT) (typical of diurnal species) and the abdominal passive heat transfer (APHT) (mainly found in nocturnal species)31. In the AAHT, individuals are able to transfer the excess of heat from the thorax to the abdomen through the movement of the hemolymph driven by the pumping of the abdomen, to be later partially eliminated from the abdomen through the tegument by convection and conduction, or through the spiracles during respiration by evaporation and convection31,35. In the APHT, individuals retain the heat in the thorax by using anatomical adaptations, such as thoracic hairs and air sacs, preventing heat from being transferred to the abdomen31. Although these mechanisms, as well as endothermy, have been used to explain patterns of temporal20,31 and spatial distribution in dung beetles18,19,36, they have never been used to explain the response of insect populations and communities to anthropogenic disturbances. It is important to highlight that endothermy is one component of thermoregulation; therefore endothermy and thermoregulation are not independent variables. However, since in this study we independently evaluated and discussed both processes, we considered them separately.

In this context, the main objective of this study was to explore the role of the thermal niche to explain (1) the ability of some native forest species to exploit human-created open habitats and (2) changes in taxonomic and functional diversity following forest replacement. Based on differences in ground level temperatures among habitats preserving canopy cover (native forests and agroforestry parklands) and habitats without canopy cover (open pastures) (Table S1)5, we expected: (1) higher endothermy in diurnal species found only in habitats with canopy cover and lower endothermy in those found in habitats without canopy cover; (2) similar endothermy among evening/nocturnal/crepuscular species (E/N/C species), irrespectively of their preferred habitat; and (3) AAHT in diurnal species and APHT in E/N/C species, irrespectively of their preferred habitat. Additionally, we explored other variables associated with flight (and therefore with endothermy and thermoregulation) that could explain differences in habitat use: temperature changes of the thorax and abdomen during prolonged flight (defined as thorax and abdomen temperature slopes), the difference between both slopes and the temperature required to initiate continuous flight in laboratory conditions, here referred to as “minimum thoracic tethered flapping temperature” (this terms is equivalent to “minimum thoracic take-off temperature” under field conditions). All physiological variables used in this study were selected over other variables (e.g. CTmax, ULT) because they are directly associated with the thermal niche, and therefore measured within the normal conditions for a particular species. We also explored the effect of body mass in species response, given that the thorax temperature, the minimum thoracic tethered flapping temperature and endothermy are mass dependent in individuals with a mass below 2 g18,37,38.

Methods

Study area and environments sampled

We conducted the field work in one of the largest remnants of the semideciduous Atlantic forest of Argentina (between 25° 58′ 21″ S, 54° 17′ 22″ W and 26° 36′ 32″ S, 54° 41′ 43″ W), a threatened ecosystem (Supplementary Figure S1). The region is located in the northeast of Argentina, and is characterized by a seasonal warm climate, with annual temperatures between 17 and 22 °C and an average annual rainfall of 2,000 mm, without a dry season39. On a landscape scale, the study area includes continuous native forest in protected areas (“Parque Nacional Iguazú”, “Parque Provincial Urugua-í”, “Parque Provincial Península”, “Reserva Privada de Fundación Vida Silvestre”, among others), large tracts of exotic tree monocultures (mainly of Pinus taeda Linnaeus) for the production of cellulose and wood, and small properties dedicated to subsistence agriculture with corn (Zea mays Linnaeus), tobacco (Nicotiana tabacum Linnaeus), and yerba mate (Ilex paraguariensis Augustin Saint-Hilaire) and small pastures for cattle raising40,41.

Within the study area, we collected dung beetles in three habitats: protected native forests, agroforestry parklands with cattle, and open pastures for cattle raising (Supplementary Figure S1). The native forest is a heterogeneous habitat formed by three to six arboreal strata and an understory composed of ferns, bamboos and shrubs42,43, in which the soil is primarily composed of sand with high contents of organic carbon7. Agroforestry parklands are remnants of native forest dedicated to livestock raising, where the vegetation is composed of native trees, lianas and an understory of shrubs, herbs and bamboos2, and in which the soil is characterized by high clay contents7 . In contrast to these two environments, open pastures are dominated by exotic grasses planted for livestock consumption and dispersed trees2, in which the soil is characterized by high clay content probably because of soil erosion7. Within each habitat, we selected three sites (or replicates), separated by a minimum distance of 30 km to increase regional representativeness. In relation to the microclimatic conditions, the native forest and agroforestry parklands show similar temperature at ground level throughout the entire day, whereas open pastures show higher temperature at ground level during the day and similar temperature at ground level during the night5 (Supplementary Table S1, Fig. 1). We used automatic temperature and humidity sensors (HOBO Pro) to record temperature at ground level in all sampling sites. We placed the automatic sensor 1 m above the ground and recorded temperature every 5 min during 12 continuous days in spring. From the complete temperature dataset (considering the 12 continuous days), we calculated the mean, maximum and minimum temperature in the day and night.

Figure 1
figure 1

Mean temperature values measured during 12 full days in three habitats of the Atlantic forest of Argentina: native forest (green line), agroforestry parklands (blue line) and open pastures (red line)5. The full day (24 h) was divided in two periods based on changes in temperature and the time of sunrise and sunset in spring: (1) from 7:00 to 18:00 h (light blue period) and (2) from 18:00 to 7:00 h (gray period).

Habitat selection and daily activity

We selected species to be analyzed based on the results of two previous studies performed in the same study area2,5. According to those results, dung beetles are more abundant in agroforestry parklands, exhibiting intermediate abundance in native forests, and lower abundance in open pastures. In addition, native forests and agroforestry parklands showed a similar number of species, which was higher than in open pastures. Based on these studies, we used the Indicator Value Method (IndVal)44 to select representative species (indicator and detector species) of each habitat (native forests, agroforestry parklands and open pastures). The IndVal uses a permutation test to assess the significance of individual indicator and detector species and is calculated through the following equation:

$$ IndVal_{ij } = A_{ij} \times B_{ij} \times 100 $$

where Aij is a measure of specificity that represents species abundance in a given habitat with respect to the total number of collected species, and Bij is a measure of fidelity that represents the number of habitats where the species is present with respect to the total number of habitats considered44,45,46. A and B are multiplied because they represent independent information about species distribution. The indicator values range from 0% (no indicator) to 100% (perfect indicator). Species with significant (P < 0.05) results above 70% were considered indicator species whereas species with an intermediate IndVal value, between 45 and 70%, were considered detector species. Indicator species are characteristic of a particular habitat and may decline rapidly under changing ecological conditions. Detector species exhibit a different degree of preference for different habitats and relative changes in their abundance among habitats might indicate the direction in which change is occurring46. We performed this analysis using PC-Ord 547. Considering the IndVal results (Supplementary Table S2), we selected three native forest species, eight agroforestry parkland species, and three open pasture species (Table 1).

Table 1 Thermal niche of dung beetles inhabiting the native forests and different habitats (Agroforestry parklands and Open pastures) of the Atlantic forest of Argentina.

Based on field observation of the authors and published articles in the same region48,49, we also included three species representative of two environments (Canthon smaragdulus and Deltochilum morbillosum of native forest, Ontherus sulcator of open pastures) (Table 1). These species were not selected using the IndVal, due to the low number of individuals captured probably as a consequence of the pitfall method used. However, field observations indicate that these species are abundant and typical from the mentioned habitats.

To describe daily activity of each species, we performed an ad-hoc sampling during five full days (24 h), between November and February 2015–2016. In each habitat, we established 10 pitfall traps (3 habitats × 10 traps = 30 traps in total), five baited with omnivorous dung and five with carrion (to attract both coprophagous and necrophagous species). We divided the 24-h period in two periods, based on changes in ground level temperature5 and the time of sunrise and sunset (data provided by the “Servicio de Hidrografía Naval Argentino”): (1) from 7:00 to 18:00 h and (2) from 18:00 to 7:00 h (Fig. 1). According to the number of captures in each period, we classified species as diurnal or evening/nocturnal/crepuscular (E/N/C) when the number of individuals captures in one of the periods was ≥ 60%. Finally, we used previous studies in the Atlantic forest describing daily activity of dung beetles48,49, and field observations carried out by the authors to classify species with a low number of captures. According to those two sources of information, seven were classified as diurnal and 10 as evening/nocturnal/crepuscular (E/N/C) (Supplementary Table S4, Table 1).

Eco-physiological bioassays

To perform eco-physiological experiments, we collected dung beetles in spring and summer (October to February) between 2015 and 2017, by using pitfall traps baited with human feces or rotten meat with leaf litter inside to reduce the mortality of falling individuals. We placed a plastic cover on the plastic cup with an open triangle of 3–4 cm to allow dung beetles to enter but prevent them from escaping. We kept collected individuals for 12 h in the laboratory at 25 °C before the assays, mainly to minimize stress50,51,52,53. The acclimation temperature of 25 °C was selected because it simulates the average environmental conditions in which the species are found in the field. During that time, we fed coprophagous species with cow dung and necrophagous species with decomposing fish.

Prior to the experiment, we considered several methodological requirements to assure a common physiological state for all individuals: (a) we selected individuals with pre-flight behavior, which is associated with body warm-up (mainly thoracic temperature), and is determined by wing muscle vibration, foreleg and head muscle flexing exercises, and sometimes, abdominal pumping28,31,54; and (b) we considered only mature individuals (of approximately the same age) according to external age-grading methods based on the cuticular deterioration of the tibiae and clypeus and on the hardness of the cuticle55,56. It is important to clarify that we performed the experiments at the time of day when species were active, that is, during the day for diurnal species and during the evening, night or crepuscule for E/N/C species.

For endothermy and thermoregulation experiments, we fixed dung beetles using a pin with paraffin from the pronotum and suspended them in the air at a height of 1.5 m. Prior to experiments, we weighed individuals using a precision balance (HXT-501, accuracy = 0.1 g). During the take-off and flight of each individual, we recorded a real-time video from a 0.5 m distance with a thermal infrared camera (FLIR ThermaCam T450 with a resolution of 320 × 240 pixels and a microbolometer Focal Plane Array detector with a spectral range of 7.5–13 µm and a thermal sensitivity of < 30 mK at 30 °C). We corrected the temperature measures by reflection, relative humidity, distance from the object, and emissivity31,53. To correct by emissivity, we measured cuticle emissivity at different temperatures (50–80 °C) by using fresh cuticles from each species and an electrical tape as reference (ε = 0.95) (Supplementary Table S3). We performed the measurements on individuals maintaining a continuous flight for at least 40 s, with each individual tested once. Considering the diversity of species used in this study and the experience of the authors, 40 s is the minimum time required to adequately estimate physiological variables. Individuals that did not achieve the minimum time, or that did not fly on the first attempt were not considered for analysis.

Analysis of endothermy and thermoregulation

To estimate endothermy and thermoregulation, we selected three areas (3 × 3 pixels each one) during take-off and flight in: (1) the thorax (Tth) (measured in the metathoracic plate), (2) the abdomen (Tabd) (measured in the third abdominal sternite) and (3) the nearby environment (Tenv) (Fig. 2). The selected areas correspond to the temperatures used to estimate endothermy and thermoregulation. We measured the temperature from the individuals in lateral view because the elytra would block the top view. Finally, we considered the maximum temperature recorded in each area, because leg movement might cause inaccurate temperature measurements since the thermal camera mistakenly measures leg temperature31, and the environmental temperature was recorded on each individual experiment (between 21 and 30.5 °C depending on the species).

Figure 2
figure 2

Endothermy and thermoregulation analysis in dung beetles. (a) Red circle = thorax temperature (Tth), blue circle = abdomen temperature (Tabd) and green circle = environmental temperature (Tenv). During flight, the differences between the mean value of Tth and Tenv represent endothermy (excess temperature) and the difference between the slopes of Tth and Tabd, Tabd and Tenv, and their signs represent the physiological thermoregulation mechanisms. The colour scale in the left column and in the insect represents a gradient of body temperature, from high (white and yellow shades) to low (violet and black shades). (b) Physiological thermoregulation mechanism: (i) abdominal passive heat transfer (different Tth and Tabd slopes, positive Tth slope, and similar Tabd and Tenv slopes) and (ii) abdominal active heat transfer (similar Tth and Tabd slopes, positive Tth and Tabd slopes, different Tabd and Tenv slopes). In all graphs, the vertical dotted line indicates the time at which slopes were considered.

We calculated endothermy as the difference between the average value of Tth and Tenv during flight (excess temperature) and estimated the physiological thermoregulation mechanisms from the difference between the temperature changes of the thorax and abdomen (slopes of Tth “sTth” and Tabd “sTabd”), and temperature changes of the abdomen and environment (slopes of Tabd “sTabd” and Tenv “sTenv”) during prolonged flight (Fig. 2a). We calculated the sTth, and sTabd across time, from take-off to 40 s into continuous flight, for each individual throughout the temperature profiles (FLIR ResearchIR Max + HSDR Version 4.40.8.28 software), and we estimated temperature variation slopes across time from the regression parameters calculated by the least squares method (Statistical Software57). In relation to the physiological thermoregulation mechanisms, when sTth and sTabd were different, sTth was positive, sTabd and sTenv were similar, the mechanism was called abdominal passive heat transfer (APHT) (Fig. 2b-i); whereas when sTth and sTabd were similar, sTth and sTabd were positive, sTabd and sTenv were different, the mechanism was called abdominal active heat transfer (AAHT) (Fig. 2b-ii)31.

In addition to endothermy and physiological thermoregulation, we considered the thorax and the abdomen temperature slopes (sTth and sTabd), which are additional physiological variables potentially influencing the ability of dung beetles to exploit open areas. Since both temperatures (Tth and Tabd) are sensitive to the heat transferred from the thorax to the abdomen during flight, their slopes can be taken as independent variables because they are not always coupled or correlated (see abdominal passive heat transfer31); while both the sTth and sTabd are used in APHT and AAHT patterns to indicate whether there is heat transfer from the thorax to the abdomen during continuous flight, sTth also reflects generated heat and sTabd reflects heat loss31,37. We also considered the difference between them (sTth and sTabd) as an estimation of the amount of heat transferred from the thorax to the abdomen during flight; a greater difference between these slopes indicates less heat transferred from the thorax to the abdomen31. Finally, the analysis included the minimum thoracic tethered flapping temperature, which corresponds to the temperature required to take-off and start the flight. In heterothermic insects, this temperature is directly associated with the ability to raise body temperature above environmental temperature (endothermy) by using their wing muscles28 and is independent of the environmental temperature58.

Data analysis

To test the predictions of endothermy and associated variables (Tth and Tabd slopes, difference between both slopes, and minimum thoracic tethered flapping temperature), we performed a linear mixed-effects model for each variable (five in total). In the model we used daily activity (diurnal and E/N/C) and habitat type (native forests, agroforestry parklands and open pastures) as explanatory variables, the physiological variables (endothermy, Tth and Tabd slope, difference between them and minimum thoracic tethered flapping temperature) as dependent variables, and species identity as a random variable. Finally, we considered the body mass as a co-variable in the model because endothermy, thorax temperature and minimum thoracic tethered flapping temperature are mass dependent in individuals with a mass below 2 g36,37,38, as is the case of all the individuals of this study. As an example, in the case of endothermy, the full model was:

$$ {\text{Model}} = {\text{lmer }}\left( {{\log}\left( {{\text{endothermy}}} \right)\sim {\text{habitat}}*{\text{activity}} + {\text{mass}} + \left( {1|{\text{species}}} \right)} \right) $$

All variables followed a normal distribution with the only exception of endothermy; in this last case endothermy was log transformed to reach normality. We performed an analysis of variance (ANOVA, type III), with Wald Chi-square test, to test the significance of the global model for each variable and pairwise post-hoc comparisons (Tukey tests). All the analyses were performed using the ‘lme4’, ‘car’ and ‘emmeans’ packages in R59,60,61. Additionally, we performed Kruskal–Wallis H tests and pairwise post-hoc comparisons (Conover tests)62 to test the difference in body mass among diurnal and E/N/C species that use different habitats (native forests, agroforestry parklands and open habitats). We performed this analysis to explore whether species body mass varies (a) among different habitats (considering the habitat as an independent variable), (b) within the same habitat (considering the activity as an independent variable); and (c) to associate these results with those of the physiological variables.

To test our predictions for thermoregulation, we compared the pairs of slopes (sTth and sTabd/sTabd and sTenv) for each species using Kruskal–Wallis H tests (INFOSTAT software63) and we considered the signs of the thorax and abdomen temperature slopes for the analysis. For positive slopes we assigned a positive sign, for negative slopes the sign was negative.

As we used multiple testing, this may create possible problems in the correct assessments of p-levels. However, we preferred to do not introduce any correction for various reasons. First, p-level adjustments generally lead to a loss of relevant information associated with the reduction of statistical power. In ecological studies, these approaches have been criticized because their results often lead to underestimated ecological patterns64. Also, most of our hypotheses were independent, even when using the same data. Finally, we performed correlations between variables used in more than one hypotheses and, in all cases, we obtained low correlations (r = 0.59 between thorax slope and abdomen slope, r = 0.41 between thorax slope and difference between both slopes, r = − 0.49 between abdomen slope and difference between both slopes).

Results

Endothermy and body mass

The most endothermic species was Coprophanaeus cyanescens Olsoufieff (9.22 °C over the environmental temperature), whereas the least endothermic one was Canthon curvodilatus Schmidt (0.42 °C over the environmental temperature) (Table 1). The analysis of variance testing the significance of the model for endothermy values among different species, while considering habitat type (native forests, agroforestry parklands or open pastures) and daily activity (diurnal or E/N/C), showed a significant interaction between both factors (Table 2). The endothermy of diurnal species from open pastures was lower than that of diurnal species from the native forest and agroforestry parklands (Fig. 3), but showed no differences between diurnal species from the native forest and agroforestry parklands (Table 3). E/N/C species showed similar endothermy in all habitats (Table 3, Fig. 3). Finally, the endothermy between diurnal and E/N/C species differed only in open pastures (Table 4, Fig. 3).

Table 2 Results of the analysis of variance testing the significance of the linear mixed-effects model used to compare endothermy, minimum thoracic take-off temperature (Tth min of take-off), thorax temperature slope (sTth), abdomen temperature slope (sTabd) and difference between both (sTth–Tabd) across different habitats (native forests, agroforestry parklands and open pastures) and daily activity (diurnal or evening/nocturnal/crepuscular) in dung beetles from the Atlantic forest of Argentina.
Figure 3
figure 3

Analysis of variance testing the significance of the linear mixed-effects model for endothermy (whiskers, median and outliers) values among different dung beetles species according to their activity (diurnal = light blue blocks, evening/nocturnal/crepuscular = gray blocks) from the native forests (NF), agroforestry parklands (AP) and open pastures (OP) of the Atlantic forest of Argentina. Common letter are not significantly different (P > 0.05, Tukey post-hoc comparison tests). Black letters compare endothermy among species with the same activity and among environments. Red letters = difference in endothermy among species according to their activity (diurnal and evening/nocturnal/crepuscular) in the same environment (e.g. NF).

Table 3 Differences in endothermy, minimum thoracic take-off temperature (Tth min of take-off), thorax temperature slope (sTth), abdomen temperature slope (sTabd) and the difference between both (sTth–sTabd) across diurnal and evening/nocturnal/crepuscular dung beetle species of different habitats (native forests, agroforestry parklands, open pastures) in the Atlantic forest of Argentina.
Table 4 Differences between diurnal and evening/nocturnal/crepuscular dung beetle species in endothermy, minimum thoracic take-off temperature (Tth min of take-off), thorax temperature slope (sTth), abdomen temperature slope (sTabd) and the difference between both (sTth–sTabd) in three habitats of the Atlantic forest of Argentina: native forests, agroforestry parklands and open pastures.

In relation to body mass, the Kruskal–Wallis H test and post-hoc comparison showed differences among diurnal species and habitat types (H = 45.36; P < 0.0001; df = 2); species body mass decreased from native forests to open habitats; whereas agroforestry parklands showed an intermediate situation. The body mass of E/N/C species was similar in all habitats (H = 3.95; P = 0.1385; df = 2) (Fig. 4). Regarding differences in body mass between diurnal and E/N/C species of the same habitat, in all habitats diurnal species were smaller than E/N/C species (native forests H = 5.53; P = 0.0187; df = 1/agroforestry parklands H = 43.88; P < 0.0001; df = 1/open pastures H = 19.29; P < 0.0001; df = 1).

Figure 4
figure 4

Body mass (whiskers, median and outliers) in diurnal (light blue blocks) and evening/nocturnal/crepuscular (gray blocks) dung beetles from the native forests (NF), agroforestry parklands (AP) and open pastures (OP) of the Atlantic forest of Argentina. Common letters are not significantly different with P > 0.05 (Conover post-hoc comparison tests, Kruskal–Wallis H tests). Black letters compare endothermy among species with the same activity and among environments. Red letters = difference in endothermy among species according to their activity (diurnal and evening/nocturnal/crepuscular) in the same environment (e.g. NF).

Thermoregulation mechanisms

Thermoregulation patterns results are shown in Fig. 5. According to the definition of physiological thermoregulation mechanisms (AAHT and APHT) and Kruskal–Wallis H test performed to compare pairs of slopes, only one species (Coprophanaeus saphirinus Sturm) showed APHT; this means that sTth and sTabd were different, sTth was positive and sTabd and sTenv were similar (Table 1, Fig. 5h). Only some individuals of Canthon podagricus Harold, Coprophanaeus cyanescens and Ontherus sulcator Fabricius presented AAHT: sTth and sTabd were similar and slightly positive, and sTabd and sTenv were also similar (Table 1, Fig. 5d, g, p). The remaining species, regardless of their activity, showed no defined physiological thermoregulation mechanisms (neither AAHT nor APHT): sTth and sTabd were similar and negative, whereas sTabd and sTenv were also similar (e.g. Canthon smaragdulus Fabricius and Deltochilum brasiliensis Castelnau) (Table 1, Fig. 5f, i).

Figure 5
figure 5

Results of flight thermoregulation experiments in dung beetle species (Kruskal–Wallis H test). Red line = thorax temperature (Tth), blue line = abdomen temperature (Tabd) and green line = environmental temperature (Tenv). Each graph shows, as an example, an individual from each of the following species: (a) Canthon conformis, (b) Canthon curvodilatus, (c) Canthon histrio, (d) Canthon podagricus, (e) Canthon quinquemaculatus, (f) Canthon smaragdulus, (g) Coprophanaeus cyanescens, (h) Coprophanaeus saphirinus, (i) Deltochilum brasiliensis, (j) Deltochilum furcatum, (k) Deltochilum komareki, (l) Deltochilum morbillosum, (m) Dichotomius carbonarius, (n) Dichotomius mormon, (ñ) Dichotomius nisus, (o) Dichotomius sericeus and (p) Ontherus sulcator. In all graphs, Y axe = Temperature (°C), X axe = Time (seconds) (as it is represented in the graph a), and the vertical dotted line indicates the time at which slopes were considered.

Finally, in relation to other variables associated with endothermy and thermoregulation (sTth and sTabd, difference between them and minimum thoracic tethered flapping temperature), the analysis of variance testing the significance of the model for these variables was not significant for habitats or daily activity (Table 2).

Discussion

Recent studies in the Atlantic forest (and in neotropical forests in general) have shown that land uses with complete loss of the canopy cover show a marked reduction in dung beetle abundance and diversity2,3,5,65 and that those preserving the canopy cover (at least partially) are often used by native forest dung beetles2,3,5,7,66,67. While these differences have been explained by the hypothesis of physiological restrictions (particularly the tolerance to high temperatures)3,5,14, the results of this study are the first direct evidence to suggest that the thermal niche might be one of the main determinants of the ability of forest dung beetles to colonize open areas.

Specifically, we proposed predictions for the two main components of the thermal niche: endothermy and thermoregulation. Regarding endothermy, we expected (1) similar endothermy among species that are active during the colder periods of the day (E/N/C species) irrespectively of the preferred habitat (native forest, agroforestry parklands or open pastures) and (2) lower endothermy in species inhabiting habitats with extreme microclimatic conditions (open pastures without the shadow provided by trees) that are active during the hottest periods (diurnal species). Regarding physiological thermoregulation, we expected abdominal active heat transfer (AAHT) (to eliminate the excess of heat) in diurnal species irrespectively of the preferred habitat, and abdominal passive heat transfer (APHT) (to retain the heat) in E/N/C species.

Consistent with our prediction, open habitat diurnal species showed lower endothermy than species inhabiting forests, whereas E/N/C species showed similar endothermy in the three habitats. Canopy loss implies a drastic increase in ground temperature during the day but not during the night2,5,6,7. Consequently, diurnal species of open habitats should exhibit low endothermy to tolerate these extreme conditions or, in the case of species with high endothermy, an efficient active thermoregulation mechanism to remove excess heat to avoid the temperature of heat shock, between 42 and 45 °C during flight28,37,38,68. In our study, the two species that use open pastures during the day (Canthon curvodilatus and C. podagricus) were small and have very low endothermy, whereas species using this habitat during the evening/nocturnal/crepuscular periods were large and with higher endothermy.

The response of species that are active during the cold periods of the day (evening/nocturnal/crepuscular) was that expected under our prediction: similar endothermy independent of the habitat. This result is directly associated with the fact that temperatures in open and closed habitats during these periods were similar2,5,6. In general, all E/N/C species showed higher endothermy and body mass than diurnal species, probably as a consequence of the differences in temperature during the day and night (Fig. 1). The results obtained support the idea that, in dung beetles (and probably in most heterothermic insects), endothermy is an important physiological variable that could explain, at least partially, the drastic loss of species after forest conversion to open habitats and the ability of a reduced number of species to tolerate the new extreme conditions. Although these results are novel, two observations should be considered for future studies: (1) the inclusion of other variables associated with temperature (such as the start of heat stress temperature and heat regulation temperature described by Verdú et al.69) would help us to better explain the observed patterns, and (2) a larger number of individuals per species (mainly in the case of species that use open habitats) would standardize their populations to avoid biased results and greatly enrich the results of this type of study.

When considering the species response within habitats, the results of our study suggest that endothermy has an important role in species activity in habitats with high daily thermal amplitude. In our study, open habitats showed a thermal amplitude of 21 °C compared to 10–12 °C in closed habitats (amplitude was calculated as the difference between the maximum temperature during the day minus the minimum temperature during the night for the 12 day that the automatic temperature and humidity sensors were active, see Table S1). Although the thermal amplitude in tropical and subtropical habitats is less marked than in arid or semi-arid ecosystems, it seems to be enough to play an important role in defining the activity of species. Similar patterns have been described in other dung beetle assemblages. In semi-arid habitats of Huelva, Spain, for example, Verdú et al.21 showed that endothermy defined the activity of dung beetle species. Endothermy also plays an important role in altitudinal gradients19 and in the intra- and interspecific competitions of dung beetles25,70. However, to our knowledge, its role in the response of species to environmental disturbance by human activities has never been studied. Regarding body mass, the results suggest that this variable plays an important role in species activity in all habitats, not only in open habitats as is the case for endothermy, given that in all habitats diurnal species were smaller than E/N/C species.

Contrary to our predictions, diurnal species did not exhibit AAHT. We expected AAHT in diurnal species (mostly species with high endothermy) as a mechanism to tolerate high temperatures compared to E/N/C species; however, almost all diurnal species (with high and low endothermy) presented inefficient or undefined physiological thermoregulation mechanisms. Only Coprophanaeus saphirinus (which is diurnal) showed clearly APHT. For E/N/C species, we expected APHT; however, and like diurnal species, all species showed inefficient or undefined physiological thermoregulation mechanisms.

According to the results of this study, and the results of two previous studies performed in the same region2,71, the diurnal species with the highest endothermy, Coprophanaeus saphirinus (Fig. 5h), is active only in closed habitats (mainly native forests). This species may not be able to use open habitats, probably as a consequence of its high endothermy, although other factors such as the APHT or its thermal limits could play an important role. Individuals of this species can reach 8.5 °C above environmental temperature. Considering the extreme conditions of open habitats during the day (up to 35 °C), the high endothermy (7.2 °C in average) and heat retention, this species will probably quickly reach a thermal shock in open habitats (between 42 and 45 °C in insect flight)28,37,38. In contrast, the regulated microclimatic conditions in the understory of habitats preserving the tree canopy might be providing appropriate conditions during the day for this species in the Atlantic forest.

The remaining diurnal species studied exhibited medium or low endothermy and inefficient or undefined physiological thermoregulation mechanisms, in which the organisms increased their body temperature for take-off and then cool during flight (e.g. Fig. 5a–c, e, f). These species belong to the genus Canthon spp, which exhibit a distinctive flight behavior compared to other dung beetles within the subfamily Scarabaeinae37,72,73. Individuals fly with their elytra closed, liberating excess heat by regulating the separation between the elytra28,73 and the abdomen. Such type of flight, called perching, consists in a zig-zag flight to avoid the sun among leaves72,73. Desert ground beetles exhibit a similar behavior, alternating between the sun and the shade to maintain a constant body temperature74,75. According to this flight behavior, thermoregulation in this genus probably relies more on the behavior than on the physiology; the negative thorax and abdomen slopes during flight could be associated with the moment in which the individual does not bask the sun and remains in the shade. Like other insect taxa that present the same flight type (perching) (e.g. dragonflies, dipterans and butterflies), solar radiation represents the main resource of heat to increase thorax temperature during take-off74,76 and therefore the basking sun is necessary for take-off in these dung beetle species.

Two Canthon species used in this study were often captured in open habitats during the day; thus, the question is how these species maintain their flight in habitats without canopy cover? Both species are very small; small dung beetles tend to be thermoconformers (poikilotherms) during their flight18,37. In addition, they presented very low endothermy and generated heat for take-off (associated with their endothermy) but then their body temperature became dependent on the environmental temperature during the flight. Also, in the case of Canthon podagricus, some individuals showed AAHT, which suggests that, in some cases, they may also have the ability to remove excess heat in habitats with high temperatures.

The inefficient or undefined physiological thermoregulation mechanisms found in E/N/C species (e.g. Fig. 5i, l, m) could be associated with their flying behavior. Unlike Canthon species, species of the genus Dichotomius Hope (Giménez Gómez, personal observations) and Deltochilum Eschscholtz28 fly with their elytra open. In Scarabaeinae, open elytra in coordination with wing beating favor convective cooling21,77. Like Canthon spp., individuals increase body temperature for take-off (dependent on endothermy) but then, during the flight, they reduce their body temperature through convective cooling, explaining the negative slope of the thorax and abdomen temperatures observed during flight. In these cases, as well as in diurnal species, the thermoregulation mechanisms would be more behavioral than physiological.

In general, and based on the results of this study, we propose that dung beetle species in the Atlantic forest (and probably in other tropical and subtropical forests) show inefficient or undefined physiological thermoregulation mechanisms simply because the temperatures (mainly in the native forests) are stable and suitable for their survival. In species inhabiting the Atlantic forest, thermoregulation is probably more associated with behavioral strategies rather than with physiology.

Despite being important variables directly linked to insect flight, the rate of change in the thorax and abdomen temperatures during flight (slopes), the difference between both rates and the minimum thoracic tethered flapping temperature of species inhabiting closed and open habitats were similar, suggesting that these physiological variables have no influence on the ability of species to tolerate microclimatic changes. The results obtained for the rate of change in the thorax temperature during flight and the minimum thoracic tethered flapping temperature were surprising because both variables show a response similar to endothermy36,38,52; however, irrespective of endothermy, both variables were similar among species, suggesting that the direct relationship between endothermy, thorax temperature and minimum thoracic tethered flapping temperature is not a general rule.

Based on the results obtained, we can conclude that the ability or inability of dung beetles to increase their body temperature above environmental temperatures (excess temperature or endothermy) and the balance between heat gain and loss (thermoregulation) could explain, in part, the drastic loss of forest species after forest conversion in the Atlantic forest. Considering that endothermy differed among species belonging to the same genus (Canthon), and that it was lower only in species that use open habitats during the day, we suggest that endothermy is more related to habitat use than to phylogeny. Moreover, this is supported by previous studies showing that body temperature and thermoregulation tend to be independent of phylogenetic relationships among species74. In the case of diurnal species, only small species with very low endothermy (lower difference between body and environmental temperature) were able to use open habitats, whereas in the case of E/N/C species, we were not able to find a general rule. However, in general, E/N/C species found in open habitats were large and with high endothermy (greater difference between body and environmental temperatures).

We are aware of the limits of our study represented by the small number of tested individuals and species. However, these limitations were mainly associated with flight duration and behavior of the species. In some cases, reaching 40 s of continuous flight or pre-flight behavior was difficult and only a few individuals succeeded. However, as this is a multi-species physiological study, we believe that the number of individuals and the general consistency in the intra-specific physiological responses were enough to capture the principal responses. In relation to the number of species, the relatively small number of species considered in this study is a consequence of the number of indicator or detector species inhabiting each habitat. In open habitats, the number of species was lower than in other habitats because few species are able to tolerate the environmental conditions in open habitats. However, all typical species of open habitats were used in this study. Although our results were obtained in the southern Atlantic forest, a similar mechanism is probably occurring in other Neotropical forests since most studies have shown a similar reduction in dung beetle diversity after forest conversion (e.g. Audino et al.78, Beiroz et al.79). Also, previous studies showed the importance of other factors, such as soil type and vegetation structure2,7,80, influencing patterns of dung beetles diversity; however, these studies were not able to explain the ability (or inability) of species to exploit open human created habitats.

Physiological studies address not only the mechanisms of thermoregulation but also the thermal responses of individuals and the range of temperature required for growth and reproduction (thermal niche)75. In view of the accelerated process of forest and biodiversity loss and climate change, further profound physiological and ecological studies are essential to predict the response of species to environmental changes and to generate management recommendations to reduce the loss of diversity.