Introduction

Climate change is among the most current and important threats to biodiversity due to the global increase of temperature. It can affect the life of organisms at different levels, from altering the life history traits of single organisms (e.g. Piantoni et al. 2019) to shifting species distribution patterns (e.g. Bellard et al. 2012). The earth’s surface temperature has increased by 0.6 °C during the nineteenth century and this is likely to reach 1.5 °C between 2030 and 2052 compared to the pre-industrial level (IPCC 2018). Increasing global temperature has a profound effect on the functioning of biological systems, e.g. it advances the timing of spring events (earlier arrival and breeding of migrant birds, earlier appearance of butterflies, earlier spawning of amphibians or plant flowering), shifts species distribution poleward in latitude and upward in elevation, alters community composition and could result in the widespread phenological desynchronization among species (Walther et al. 2002; Parmesan and Yohe 2003; Thackeray et al. 2016; Wersebe et al. 2019). The importance of temperature was neatly emphasised in this sentence: ‘unlike many other variables that concern biologists, the temperature is not just a property of life; it is a property of matter. Nothing escapes its control’ (Angilletta 2009).

Temperature strongly influences the foraging activity of ectothermic animals, such as ants, as high surface temperatures are correlated with increasing risks of desiccation or heat stress (e.g. Cerdá et al. 1998; Chung and Lin 2017; Friedman et al. 2019; Perez and Aron 2020). There are some species among ants that are well adapted to live in habitats with extremely high temperatures, such as deserts or sand dunes (Cerdá and Retana 2000; Cerdá 2001; Boulay et al. 2017). They exhibit a number of adaptations to live and survive in such difficult conditions (Wehner et al. 1992; Christian and Morton 1992; Gehring and Wehner 1995; Cerdá and Retana 2000; Cerdá 2001; Evgen’ev et al. 2007; Clémencet et al. 2010; Schultheiss and Nooten 2013), but even for them, thermal stress is a major cost of foraging (Merkt and Taylor 1994; Angilletta 2009; Ślipiński 2017). Still, some desert ant species forage when the surface temperature exceeds 50 °C, e.g. Pogonomyrmex californicus (Bernstein 1974, 1979), and even at the extreme level of 60 °C, as is the case for Cataglyphis spp. (Wehner et al. 1992). For ants living in such habitats, risk can be perceived from the perspective of critical physiological thermal limits: workers may utilize a risk-prone strategy (when foraging close to the critical thermal limit) or risk-aversive strategy (far from the critical thermal limit) when foraging for food (see Cerdá et al. 1998; Cerdá and Retana 2000; Cerdá 2001).

We still know little about the proximate mechanisms that determine and maintain the inter-individual behavioural variability of social insects, and the extent to which environmental factors can shape this behavioural variation (Tautz et al. 2003; Jones et al. 2005; Jeanson and Weidenmüller 2014). For example, it was demonstrated that the temperature experienced during larval development affects the learning abilities and recruitment behaviour of the honey bee (Tautz et al. 2003; Jones et al. 2005) or it can modify the response thresholds and temperature preferences of adult brood-tending Camponotus rufipes ant workers (Weidenmüller et al. 2009). Another study showed that higher development temperature (28 °C and 32 °C vs 24 °C) influenced positively the thermoresistance of Aphenogaster senilis workers (Oms et al. 2017). Differences in thermal tolerance observed among populations of thermophilic A. iberica could also be the result of acclimation during development (Villalta et al. 2020).

In the temperate climate, extremely thermally specialized ant species, such as some of the genus Cataglyphis, are rare and they are mostly limited to the southern regions due to the different environmental conditions. Dunes or sun-exposed sandy patches in temperate regions differ from typical deserts; therefore, the biology of xerothermic species inhabiting them (e.g. Formica cinerea) also differs. Nonetheless, in particular circumstances, the conditions in both types of habitats may temporarily become very similar in terms of extremely high surface temperatures. Therefore, studying the thermal response of species such as F. cinerea may provide an opportunity to determine the mechanisms and behaviours behind the adaptations of temperate zone species to cope with high surface temperatures, especially in the circumstances of inevitable global warming. Formica cinerea may be a good model species in estimating the effect of climate change on ectothermic animals because we know that typical heat tolerant species seems to be already at the edge of their physiological and behavioural capabilities (Andrew et al. 2013). However, we still know little about the potential thermal adaptations of species from temperate regions.

In the current study, we investigated the temperature-related foraging risk of the xerothermic ant species F. cinerea. More particularly, we asked: (1) how the increase of external temperature affects the foraging activity of workers and (2) how the temperature during pupal development and worker age affects foraging activity in high temperatures. Based on our previous findings (Ślipiński et al. 2015; Ślipiński 2017), we hypothesized that an increased external temperature has an effect on the foraging activity of this species, but also there is an individual behavioural variation in foraging risks taken by the foragers of this species—some workers take more risks than others. Based on literature data, we assumed that one of the factors influencing foraging strategies may be development temperature (Crill et al. 1996; Weidenmüller et al. 2009; Oms et al. 2017; Villalta et al 2020). We expected that workers developing in higher temperatures could be more heat resistant and willing to take more thermal risks compared to workers developing in lower temperatures. Age can also be correlated with thermal-related risks, as it is known that ants with increasing age (and therefore decreasing life expectancy) perform riskier tasks (Schmid-Hempel and Schmid-Hempel 1984; Schmid-Hempel and Wolf 1988; Woyciechowski and Kozłowski 1998; Moroń et al. 2008, 2012; Miler et al. 2017). For this reason, we expected that with increasing age, workers may be more willing to forage in higher temperatures.

Materials and methods

Colonies in the experiment

Five colonies of F. cinerea were used in the experiments—from here on called original colonies. Three original colonies were collected in Romania (Cluj-Napoca) and two in Poland (Stara Wieś near the city of Warsaw) in the spring (May–June). Colonies were transported to the laboratory and housed in plastic boxes (20 × 30 × 40 cm). Each original colony had at least one fertile queen, offspring (eggs, larvae and pupae) in different proportions and several hundred workers (at least 300). Every original colony was checked once per week for last instar larvae (well developed, big larvae) that, if found, were removed to a new plastic box (20 × 30 × 10 cm), from here on called a temporal colony—created to easily observe the development of larvae into pupae. In each temporal colony, there were 20–80 last instar larvae along with 30 workers originating from their original colony. All original and temporal colonies were kept in thermal chambers with a controlled photoperiod (day-night: 14–10 h) and temperature (day-night: 23–16 °C). Water and food (crickets, Drosophila sp., honey with water) were provided ad libitum in an attached foraging arena (20 × 20 × 10 cm).

Temperature regime for pupal development

Temporal colonies were checked three times per week and the newly emerged pupae were separated and divided into two groups of an equal number and placed in two different thermal chambers. In natural conditions, pupae are usually kept in the warmest part of the nest (e.g. close to the surface) so workers can easily manipulate their development temperature by transporting them to different chambers in the nest (Weidenmüller et al. 2009; Falibene et al. 2016). Therefore, we also decided to use pupae—not larvae—in the experiment. One group of pupae was kept at 20 °C and the second at 28 °C during the day, while both chambers were kept at 15 °C at night (day-night: 14–10 h). The experimental regime of temperatures reflected ecologically relevant temperatures and were chosen based on our own experience and similar studies showing that the optimal development temperature for F. cinerea is about 29–30 °C (Weidenmüller et al. 2009; Seifert 2018). Each group of pupae was reared together with 5–10 workers that took care of the brood. These colonies were checked three times per week in order to capture the young acclimated workers emerging from the pupae. Young acclimated workers with an already hardened cuticle (usually 3–5 days after emerging) were individually paint-marked with two dots of various colours (Edding 751 marker). There was a total of 113 acclimated workers coming from the five colonies: colony FC1, 28 workers (12 from 20 °C and 16 from 28 °C); FC2, 21 (6 and 15, respectively), FC3, 9 (5 and 4 respectively), FC4, 37 (17 and 20, respectively), FC5, 18 (9 and 9, respectively). Altogether, there were 49 workers that developed in 20 °C and 64 from 28 °C. Subsequently, the acclimated workers that developed under different temperature regimes and originated from the same colony were merged together with a group of 40 unacclimated workers from the same original colony. None of the colonies contained a brood. Such experimental colonies were used to assess the temperature-related foraging risks of acclimated and unacclimated workers. However, at the end, after finishing the foraging risk tests, only four colonies (FC1, FC2, FC4, FC5) were used for the statistical analysis with the acclimated workers—colony FC3 was removed due to low worker activity. Data collected from all colonies were used for the statistical analysis performed for the unacclimated workers. The experimental colonies were kept in small boxes (15 × 20 × 10 cm) in thermal chambers with a controlled photoperiod (day-night: 14–10) and temperature (23 °C, day; 16 °C, night). Unfortunately, we were unable to measure acclimated workers to estimate their size, due to the high risk of damaging them while they were still alive and in most cases, it was impossible to do so after their death due to the random place and time of their demise inside the nest.

Testing temperature-related foraging risk

To assess the temperature-related foraging risk of workers, each experimental colony was connected by a silicone tube to a foraging arena (15 × 15 cm) with a layer of sand at its bottom. This sand layer was warmed by a heating lamp to the required temperature. A thermostat probe was hidden in the sand, measuring its temperature (with an accuracy of 1 °C) and this information was sent to the heating lamp (Trixie 100 W) placed above the arena. A Microsoft LifeCam Studio camera was also placed above the arena to record the tests in HD resolution (1280 × 720). During the tests, two ad libitum food baits were placed centrally in the heated arena, honey in one and chunks of one cricket in the other. After placing the food, we waited 15 min to give the ants time to start foraging and then the actual test started—regardless of the appearance of ants inside the foraging arena. During each 15-min test, the arena was heated to the required temperatures (30 °C, 35 °C, 40 °C, 45 °C, 50 °C) and two variables were measured: (1) the foraging activity of unacclimated workers was measured by totalling the number of unacclimated foragers in the arena—there were 15 snapshot (2–3 s) measurements per each temperature; (2) the foraging activity of acclimated workers was measured by individually tracking each painted ant and measuring their total foraging time in each temperature. Foraging time started when an ant entered the arena and ended when it returned to the tube connecting the foraging arena with the nest. Each experimental colony was tested once per week. A total of 10 repetitions per colony were made. During the first five repetitions, each foraging arena was heated to the following temperatures: 30 °C – 35 °C – 40 °C – 45 °C – 50 °C. Subsequently, during the last five repetitions, the order of the temperatures was changed (30 °C – 50 °C – 45 °C – 35 °C – 40 °C) to control for the possible decrease in the activity of ants at higher temperatures caused by the saturation of workers with food as the test progressed. The temperature of 30 °C was used as a control temperature based on our previous experiments on F. cinerea foraging strategies (Ślipiński 2017). To make ants more willing to forage, all experimental colonies were starved for 5 days prior to the experiments and they received food only during the experiments and on the day after. The foraging risk tests were conducted between 14.09.2018 and 29.11.2018.

The statistical approach

The effect of external temperature on the foraging activity (number) of unacclimated workers

As a first step, we investigated the influence of foraging temperature (arena temperature) on the averaged number (N = 182) of unacclimated foragers (Online Resource 1) using a linear mixed model approach (LMM, maximum likelihood fit). For the purpose of the statistical test, the number of unacclimated workers was averaged due to the large number of repetitions (N = 2726). In each temperature, there were 15 snapshot measurements; during each snapshot, the number of all ants occurring in the arena was totalled; finally, all snapshot measurements were totalled and divided by 15. The number of unacclimated foragers in the heated arena was used as a dependent variable; the foraging temperatures and the order of temperatures were used as fixed factors, whereas the colony and the repetition (10 per colony) were introduced as nested random factors.

The influence of pupal development temperature and worker age on the foraging activity (time) of acclimated workers

In the next step, we checked the influence of acclimated worker (Online Resource 2) age and foraging temperatures on foraging time (s) using the linear mixed model approach (LMM, maximum likelihood fit; N = 217). In the model, workers’ development temperature, age, foraging temperatures (arena temperature) and the interaction of the two latter were included as fixed factors, while colony and worker ID were the nested random factors.

To check the influence of the different development temperatures (20 °C, N = 68; 28 °C, N = 149) on the foraging time (s) of acclimated workers in the different foraging temperatures, we used two separate LMM models (maximum likelihood fit), one for ants that developed at 20 °C and the second model for ants that developed at 28 °C. In the models, the foraging temperature was a fixed factor; age was a covariate, while colony and worker ID were used as nested random factors.

We also compared the number of foraging episodes (observed values) of acclimated workers with different pupal development temperatures (20 °C and 28 °C) to the expected values, assuming no difference between these two groups of workers by using a χ2 goodness-of-fit test (and Yates’ continuity correction).

All statistical analyses were performed in the R Statistical Environment (R Development Core Team 2018). The models were performed using the lmer function from the lme4 package (Bates et al. 2015). The main effects of the variables were calculated using the Anova function from the car package (Fox and Weisberg 2019). The coefficients of determination for linear mixed-effect models were calculated using the r.squaredGLMM function from the MuMIn package (Bartoń 2019). Foraging time (s) was log-transformed to fit the normal distribution.

Results

The effect of external temperature on the foraging activity (number) of unacclimated workers

The number of unacclimated workers was significantly influenced by foraging (arena) temperature (χ2 = 78.92, p < 0.001) but not by the order of the applied temperatures (χ2 = 0.03, p < 0.852). Workers decreased their activity due to increasing temperature regardless of the order of the tests conducted during the experiments (possible effect of saturation with food). By analysing the different factor levels separately, we found that the foraging number of unacclimated workers decreased significantly with increasing temperature (35 to 50 °C, Table 1). The model explained 45% of the variance of the foraging number of unacclimated workers (Fig. 1).

Table 1 Results of the linear mixed models explaining the significance of foraging temperature on the activity (average number) of unacclimated F. cinerea workers
Fig. 1
figure 1

Violin plots showing the averaged number of unacclimated F. cinerea foraging workers in subsequent foraging temperatures expressed with kernel density estimation (irregular polygons) and boxplots (white dot, median; black box, interquartile range)

The influence of pupal development temperature and worker age on the foraging activity of acclimated workers

The foraging time of acclimated workers was significantly influenced by foraging (arena) temperature (χ2 = 26.65, p < 0.001), worker’s age (χ2 = 15.18, p < 0.001), the interaction of these two predictors (χ2 = 13.87, p = 0.007), but not by worker’s development temperature (χ2 = 0.29, p = 0.6). When analysing the different factor levels separately, we found that the foraging time of acclimated workers was shorter in the riskiest temperatures of 45 °C and 50 °C (Table 2). With increasing age, workers foraged significantly longer at the highest (interaction between temperature and age), riskier temperatures (Table 2). Altogether, the model explained 35% of the variance of the foraging time of acclimated workers.

Table 2 Results of the linear mixed models explaining the significance of foraging temperature and interaction between foraging temperature and age of workers on the foraging time of acclimated workers

When analysing separately the changes in the foraging time of acclimated workers that developed at 20 °C, we found that the main effects of foraging temperature (χ2 = 5.43, p = 0.25) and age (χ2 = 0.09, p = 0.77) did not have a significant effect. However, these workers’ foraging time decreased significantly at 50 °C compared to the control temperature (Table 3). The model explained only 10% of the variance of the foraging time of acclimated workers that developed at 20 °C. On the other hand, the main effects of foraging temperature (χ2 = 20.54, p < 0.001) and age (χ2 = 15.38, p < 0.001) for workers that developed at 28 °C had highly significant effects. These workers foraged for significantly shorter times in all temperatures compared to the control temperature, but the time of foraging increased with their age (Table 3, Fig. 2). The model explained a total of 34% of the variance of the foraging time of acclimated workers that developed at 28 °C.

Table 3 Results of the linear mixed models—for workers that developed at 20 °C (upper part) and 28 °C (lower part)—explaining the effect of foraging temperature and age (for 28 °C) on the foraging time (s) of acclimated workers
Fig. 2
figure 2

The effect of age (days) on the foraging time of acclimated workers that developed at 20 °C (left panel; t = 0.29, p = 0.77) and 28 °C (right panel; t = 3.92, p < 0.001). R2 values in the models analysing the effects of different values on the foraging time of workers developed at 20 °C (cond = 0.1, marg. = 0.07) and at 28 °C (cond = 0.34, marg. = 0.2). The blue lines with confidence bands (grey) are plotted based on the linear regression of the two variables

Pupal development temperature had a significant influence on the frequency of the foraging episodes of workers (Fig. 3), as those that developed at 28 °C foraged more often than ants that developed at 20 °C (χ2 = 16.85, p < 0.001).

Fig. 3
figure 3

Violin plots showing the number of foraging episodes for acclimated F. cinerea workers (with 20 °C and 28 °C pupal development temperatures) expressed with kernel density estimation (irregular polygons) and boxplots (white dot, median; black box, interquartile range)

Discussion

Our results demonstrated that a high surface temperature affects negatively the foraging activity of Formica cinerea workers and the majority of them do not forage when temperatures are high. However, there are behavioural differences among individuals that may be related to the temperature of their development and their age. Our results demonstrated that pupal development temperature influenced the foraging strategies of adult workers; workers that developed in the high temperature (28 °C) foraged more often but for shorter intervals compared to the workers that developed in the lower temperature (20 °C). We also found that the age of workers influences their foraging activity; with increasing age, workers are prone to forage significantly longer at the highest and riskiest temperatures.

Ants living in a temperate climate, such as F. cinerea, have different life-history traits compared to many typical desert ant species. Formica cinerea nests in sandy soil, e.g. in a forest clearing or dunes, and forage on sand (Czechowski et al. 2002; Ślipiński et al. 2015; Ślipiński 2017). It is not a scavenging species, like desert ants, although their workers forage on hot sand if they need to collect food, e.g. honeydew from plants growing at a forest edge. The temperature of the sand in such a forest clearing may reach 61 °C (Ślipiński 2017), a temperature that is above the thermal maximum of most foraging ants in temperate climates. On the other hand, foragers may stay inside the nest and wait until the sand surface cools down. Such a situation was observed in the field (Ślipiński 2017) and it is also supported by the results of our observations of the unacclimated F. cinerea workers, as their number decreased significantly with increasing surface temperatures. Generally, the activity of a F. cinerea colony decreases during the hottest part of the day, when the majority of workers stay inside the nest. However, during our experiment, we observed behavioural differences among workers in terms of foraging in high (risky) temperatures.

Organisms living in thermally heterogeneous environments can respond to temperatures during one stage of the life cycle to enhance performance during a subsequent stage (intra-generational response, Angilletta 2009). Such a response was presented in a handful of cases with the use of the larvae or pupae of honeybees or ant workers (Tautz et al. 2003; Jones et al. 2005; Weidenmüller et al. 2009; Falibene et al. 2016; Oms et al. 2017). Current knowledge about the influence of the proximate mechanisms that determine and maintain inter-individual behavioural variability in social insects, including risk-prone strategies, is still limited. Our study indicates that the development temperature of pupae may influence the foraging activity of adult workers; those that developed in a higher temperature foraged more often, which can indicate their higher temperature resistance, but they actually spent less time outside the nest compared to workers that developed in lower temperatures. Results from different experiments conducted on Aphenogaster senilis indicated that a higher brood development temperature is correlated with higher temperature resistance (Oms et al. 2017). In addition, a study on Drosophila melanogaster demonstrated that the development temperature of individuals influenced their heat tolerance; individuals that developed at a higher temperature (25 °C versus 18 °C) had a higher knock-down temperature (Crill et al. 1996). Differences in foraging behaviour between ant workers that developed in different temperature regimes could be beneficial for colony performance and it could be controlled by adult workers, which can partially determine the thermal conditions of brood development (see Oms et al. 2017). It was proven that controlling brood development temperature influences the morphological and behavioural traits of imago workers, e.g. brain development in Camponotus mus ants, which affects sensory processing and learning abilities in adult ants (Falibene et al. 2016). For F. cinerea, different foraging strategies and behavioural variation in the risk-prone strategies of workers that developed in various temperatures may be advantageous when competing with strong competitors occurring in the surrounding habitat (e.g. Formica wood ants).

The results of our study revealed that the age of workers can also be an important factor that is correlated with the foraging activity of workers in high temperatures. It is known that ant age is associated with task specialization and the division of labour within a colony (age polyethism). Young workers show a preference for within-nest tasks; thus, brood care falls mostly to them. Slightly older workers tend to do other tasks inside the nest, whereas the oldest ants perform the riskiest tasks of foraging and are the first to engage in colony defence, as ‘switching to more dangerous tasks is age-influenced’ (Hölldobler and Wilson 1990, 2009; Cerdá and Retana 1992; Sendova-Franks and Franks 1995; Tripet and Nonacs 2004; Tschinkel 2006; Lach et al. 2009). In addition, the results from our experiments indicate that workers risk more and forage longer with aging. Alternatively, it is also possible that ants with age become more heat tolerant, which implies that the level of risk may be similar for all age classes; just the threshold of overheating is higher in older ants. Interestingly, the factor of age is more significant for ants that developed in the higher temperature of 28 °C; these ants’ foraging time significantly increased with their age. The probability of death during foraging in a high temperature is much greater compared to foraging performed at lower temperatures or tasks performed inside the nest. Therefore, older workers, which usually also have a shorter life expectancy, should perform riskier tasks, as has been shown in many other studies on social insects (Schmid-Hempel and Schmid-Hempel 1984; Schmid-Hempel and Wolf 1988; Woyciechowski and Kozłowski 1998; Moroń et al. 2008, 2012; Miler et al. 2017).

There can also be other factors, not tested in this study, which can influence the behavioural variation of workers in their temperature-related risk prone strategies. F. cinerea has polymorphic individuals (Czechowski et al. 2002), and therefore, worker size could potentially be an important factor. It was shown that larger workers are supposed to be more thermally resistant due to their lower surface-to-volume ratio, lower mass-specific metabolic rate and longer legs (Shik 2010; Cerdá and Retana, 1997, 2000; Villalta et al. 2020).

It is predicted that insects from temperate regions, compared to tropical ones, may be less exposed to climate change risk (Deutsch et al. 2008; Andrew et al. 2013; Sunday et al. 2014; Diamond and Chick 2018; Johnson et al. 2020), but this assumption has been poorly examined. For a better understanding of such a process, it would be necessary to conduct further studies taking into account the microclimatic variation and the behavioural optimisation of animals (e.g. Anderson et al. 1979; Suggitt et al. 2011; Andrew et al. 2013). Moreover, our knowledge about the level of the behavioural and physiological adaptations of species from temperate climates for coping with high surface temperatures is limited, compared to the broad knowledge on typical thermal specialists from warmer regions (Christian and Morton 1992; Cerdá 2001; Schultheiss and Nooten 2013; Willot et al. 2017). There is also limited data on the influence of climate change on the foraging strategies and physiological adaptations of ants from temperate ecosystems that forage at their upper thermal limits, although some information is provided by studies performed in Asia. It was demonstrated that Formica exsecta, which was a relatively rare and sporadically distributed species in the region of the Kolyma River (Asian part of Russia), became the dominant species of the mesofauna of this region, which is the effect of the warm winters in the last decade (Alfimov et al. 2011). The influence of climate change was also reported in the taiga during unusually hot periods in the summer of 2010. Studied colonies of the genus Formica responded to the extreme heat by changing their foraging patterns, redesigning their nests and rearranging the spatial and functional structure of the colonies. They also switched to a bimodal daily activity pattern with the maxima in the morning and in the evening and a prolonged daytime intermission (Zakharov and Zakharov 2014). Nevertheless, more studies should be conducted to be able to predict how ants and other insects from temperate climates can adapt their foraging behaviour to current climate change and to identify species and populations endangered by decline or extinction.