Introduction

Protection against harmful weather conditions is essential for survival and successful reproduction in endothermic animals, including birds. Such protection can be provided by tree cavities, which are used by many birds and mammals for nesting or roosting (Gibbons and Lindenmayer 2002). However, some cavities can be more efficient insulators than others in buffering against severe ambient conditions, depending on the dimensions and location in a tree (e.g. Wiebe 2001; Paclík and Weidinger 2007; Isaac et al. 2008; Coombs et al. 2010; Maziarz et al. 2017; Vierling et al. 2018). Consequently, diverse tree cavities might provide a wide range of microclimates for their potential occupiers, which may be able to discriminate and choose those with the most suitable conditions.

Utilising places that buffer well from extreme ambient temperatures and limit excessive heat exchange with the external environment can be beneficial for cavity-nesting birds, due to a lower risk of overheating (reviewed in Maziarz et al. 2017) or reduced energetic costs of thermoregulation (e.g. O’Connor 1975; Walsberg and King 1978; Haftorn and Reinertsen 1985). Additionally, moderate humidity inside nest sites might inhibit harmful excessive water loss and prevent dehydration of young birds (Deeming 2011; Mersten-Katz et al. 2012; Salaberria et al. 2014). Therefore, occupying cavities with moderately humid microclimates, well buffered from conditions outside, could give birds a selective advantage and so should be preferred by them.

The initial cavity microclimate that animals meet when selecting their nest sites may differ from the conditions experienced over the full duration of the nesting period. By building well-insulating nests and/or generating heat inside cavities, birds (and other endothermic animals) might elevate internal air temperatures relative to outside, and lower the relative humidity (Havera 1979; Willis and Brigham 2007; Maziarz and Wesołowski 2013; Griffiths et al. 2017; Rowland et al. 2017). In birds, this ‘heating effect’ might increase with the progression of nesting, from the incubation period when the air in a cavity is warmed by a single parent brooding eggs, to the late nestling period when several large chicks are present (Mersten-Katz et al. 2012; Maziarz and Wesołowski 2013).

Moreover, the amount of heat generated by endothermic animals and retained inside cavities might differ between sites, with presumably greater amount of heat retained in those that insulate more efficiently, i.e. more effectively reduce heat loss from inside (Kearney et al. 2011; Larson et al. 2018). Thus, the microclimate of occupied cavities might depend on a combination of ambient temperature, cavity insulation and the heating activity of endothermic occupants. Determining the relationships between these elements would be useful to assess the actual costs associated with the utilisation of different types of cavities by endothermic animals and to better understand the drivers of non-random cavity occupation.

The current study presents the microclimate, comprising air temperature and relative humidity, of tree cavities used for nesting by the marsh tit Poecile palustris—a small (c. 12 g) altricial passerine that nests in pre-existing tree cavities (Cramp and Perrins 1993). I aimed to determine (1) how presence of an active nest modifies the initial tree-cavity microclimate, (2) if the degree of modification of the tree-cavity microclimate by nesting birds increases with nest progression from the incubation to the late nestling period and (3) if the heating effect of the birds’ breeding activity depends on cavity insulation that varies with internal dimensions and location in a tree. For this purpose, I characterised the microclimate of ‘active cavities’, i.e. those occupied by nesting marsh tits, and compared it with the microclimate of ‘vacant cavities’ that had previously been used for breeding by this species but remained empty during the study.

Marsh tits typically occupy cavities that are situated relatively low above the ground, in rather thin and almost always living tree trunks in mature forest; their typical nest cavities have a narrow entrance, small floor area and a moderate depth (e.g. Wesołowski 1996; Broughton et al. 2011).

It was previously shown that air temperatures inside vacant cavities used by marsh tits depend on ambient values, but the daily pattern of temperature change inside these tree cavities differs from outside. In contrast, the relative humidity is stable despite strongly fluctuating ambient values (Maziarz et al. 2017). I presumed that similar patterns of change in temperature and humidity would be present in active cavities used by nesting marsh tits, but occupation of tree cavities by these endothermic animals would result in increased internal air temperatures and reduced relative humidity. This microclimate modification by presence of an active nest should be more pronounced towards the end of the nestling period, when chicks are fully feathered, than during the incubation period. If correct, the internal-ambient temperature differences would be higher, and relative air humidity much lower in active cavities compared to vacant (‘unheated’) sites, particularly during the nestling period (Maziarz and Wesołowski 2013).

I presumed that the most efficient insulators would be cavities located in the thickest parts of trees, due to lowest heat loss through the thickest cavity walls, and that other cavity characteristics would have a minor influence on cavity insulation (Maziarz et al. 2017). If correct, the differences between daily internal temperature extremes and respective ambient values would change significantly with tree thickness alone. I also expected that well-insulating cavities would retain the greatest amount of heat generated by occupying marsh tits. Consequently, the daily minimum or maximum internal-ambient temperature differences in active cavities that insulated more efficiently would be greater than corresponding values from vacant cavities with similar insulation.

Materials and methods

Study area

The study was conducted during 2013–2014, between mid-April and early June, within three permanent study plots in old-growth, oak-lime-hornbeam (Tilio-Carpinetum) stands within Białowieża National Park (BNP, in the strictly protected 47.5 km2; 52° 40′ N, 23° 50′ E), E Poland. The climate is subcontinental, with mean annual precipitation of 641 mm (426–940 mm) and respective mean temperatures in April and May of 8.0 °C and 14.5 °C (Faliński 1986; Wesołowski and Cholewa 2009).

The tree stands are a relic of the primaeval mixed deciduous forests which once covered much of lowland Europe (Tomiałojć and Wesołowski 2004). Tree cavities are diverse and superabundant, giving a wide array of nesting options for cavity users (Walankiewicz 1991; Wesołowski 2007), while nest boxes are absent. Further detailed description of the study site can be found in Tomiałojć et al. (1984) and Wesołowski et al. (2015).

Microclimate measurements

Measurements of air temperature and relative humidity were taken in two classes of tree cavity: ‘active cavities’ that contained active marsh tit nests in the observation year (n = 39), and ‘vacant cavities’ (n = 29) that had been used by nesting marsh tits in recent breeding seasons, but were currently unoccupied when the measurements were taken, due to high abundance of tree cavities providing alternative nest sites (Wesołowski 2007). Vacant cavities contained no nest material, which typically decomposes between breeding seasons (Hebda et al. 2013), or it was manually removed prior to study (after five active nests had failed within the same season). In total, 23 of 29 vacant cavities had been occupied by marsh tits in the same or previous year before the study, and the remainder within 7 years.

All tree cavities studied were formed by natural decay in living trunks, comprising mostly limes (vacant, 24/28 of known tree species; active, 29/39) and hornbeams (respectively 4/28 and 7/39). Median tree girth at breast height was 66 cm (25–75% quartiles, 57–73 cm, n = 28) for vacant cavities and 65 cm (25–75%, 52–79 cm; n = 35) for active cavities with measured girth. All tree cavities were ≤ 6 m above the ground (median 1.5 m for both cavity classes; 25–75%, 1.2–2.5 m, n = 28 for vacant cavities and 25–75%, 1.2–4.0 m, n = 39 for active cavities with a measured hole height above the ground), reflecting the location of 66% of active marsh tit tree cavities in BNP in 2013–2014. The lateral entrance orientation of vacant (n = 28) and active (n = 38) cavities was randomly distributed, with respective percentages of 32% and 30% facing north, 27% and 22% east, 14% and 15% south and 27% and 33% facing west (χ2 = 1.9 and 3.2, df = 3, p > 0.4).

Internal dimensions of all tree cavities were taken using a collapsible ruler and flexible torch (see Wesołowski 1996; Maziarz et al. 2015), after young had fledged from active cavities. Dimensions were similar for vacant and active cavities (Table 1), with vertical distance of the nest below the entrance of 13 cm (median; 25–75%, 10–16 cm) in active cavities, and vertical distance from the entrance to the floor of 18 cm (median; 25–75%, 16–21 cm) in vacant cavities.

Table 1 The dimensions of vacant and active tree cavities used by marsh tits Poecile palustris in the Białowieża National Park, Poland. For detailed description of assessment of cavity characteristics, see Wesołowski (1996) and Maziarz et al. (2015). Measurements were unavailable for an additional four vacant cavities

To examine how microclimate varied with nest progression within and between active and vacant cavities, air temperature and humidity were recorded during the incubation and nestling stages, with measurements taken in parallel at both classes of tree cavity. Measurements took place during the incubation stage at a median 7 (range 5–10) days after clutch completion in active cavities, i.e. around the middle of the incubation period when microclimatic conditions should be representative, and during the nestling period when chicks were feathered at a median 12 (range 11–15) days old. Complete sets of measurements were available for 69% of 39 active and 76% of 29 vacant cavities, with omissions due to partial or complete nest losses (6 cases), equipment malfunction (4), cavity occupation by other bird species (two vacant cavities) or inclusion of two active cavities found at a later stage of nesting and five tree cavities treated as vacant following nest failures and nest removal (see above). Although the status of some tree cavities changed within or between years, the only cavity to be included in the same category in both seasons was a vacant one at which the measurements were done during the incubation stage in 2013 and chick rearing in 2014.

For all measurements, data loggers (iButtons) measuring temperature (model DS1922L) and temperature and humidity (model DS1923) were used, which were tested and calibrated by Dallas Semiconductor/Maxim Inc. (Maxim Integrated Products 2011a, b). Measurement precision was ± 0.5 °C for temperature and ± 5% for humidity, with an operating range for DS1922L of − 10 °C to + 65 °C and for DS1923 from − 20 °C to + 85 °C and 0% to 100% relative humidity.

All measurements were taken simultaneously by paired data loggers positioned inside and outside of each tree cavity to test the buffering of ambient conditions. In active cavities, the internal logger was suspended on a thin wire, typically 7 cm below the entrance, just above the nest rim and close to the front wall but not touching it, so as not to disturb parental activity. Data loggers inside vacant cavities were typically mounted 7–8 cm below the entrance hole. The external logger was hung close to the cavity, in cover to minimise direct solar radiation and 2–4 m above the ground, i.e. aboveground frosts. Both data loggers in a pair were programmed to simultaneously initiate recordings at the expected time of installation and thereafter at 5-min intervals (recording resolution was 0.0625 °C temperature and 0.04% humidity). After a minimum 48 h following installation, the loggers were removed, and the data uploaded to a computer; for further details, see Maziarz and Wesołowski (2013).

Data analysis

Relative air humidity readings were corrected to the actual temperature and for saturation drift following the manufacturer’s equations (Maxim Integrated Products 2011a; p. 53). From each sample, a sequence of records from 00:01 to 24:00 local time was selected to calculate hourly means and to define the mean, minimum and maximum of hourly mean temperature/humidity for a day. The time lag between internal and ambient daily minima or maxima was calculated as the difference in hours between when the respective mean internal and ambient temperature extremes occurred.

To compare thermal conditions between or within vacant and active cavities during the incubation and nestling stages, temperature values inside tree cavities were standardised to ambient conditions using ‘temperature differences’, subtracting mean, minimum or maximum daily ambient values from the corresponding cavity readings from the same series of measurements. Ambient temperature loggers were previously shown to record values comparable to those obtained from the closest weather station in the Białowieża village (Maziarz et al. 2017), and so their recordings were considered to be representative. Additionally, internal-ambient temperature differences were mostly unaffected by ambient conditions; the mean daily internal-ambient temperature differences remained stable with increasing mean daily ambient temperatures in vacant and active cavities during the two sampling periods corresponding to the incubation and nestling stages in active cavities (Spearman’s rank correlation, vacant cavities, rS = −0.01 and − 0.23 respectively, p > 0.20; active cavities, rS = − 0.32 and − 0.31 respectively, p > 0.05).

To test which cavity characteristics influenced insulation, I performed bootstrapped multiple regression (2000 replications), with minimum or maximum daily internal-ambient temperature differences used as response variables and different cavity characteristics as covariates (all as additive main effects). This method helped to avoid problems of the limited sample sizes and non-normal distributions in the model. In the analyses, I used cavity characteristics that had shown no interdependency, based on results of Spearman’s rank correlations. The estimates, standard errors and bias-corrected and accelerated (BCa) confidence intervals of the estimates, were calculated from the sets of bootstrap regression coefficients to assess the statistical importance of the covariates (for a detailed description of the method see Field et al. 2012).

To test if thermal conditions inside tree cavities differed between active and vacant sites depending on their insulation properties, I used bootstrapped ANCOVA models (2000 replications). In these models, daily minimum or maximum internal-ambient temperature differences were set as response variables against covariates of cavity type (active vs. vacant), the cavity characteristic on which the insulation properties of tree cavities depended (a posteriori selection) and the interaction between this characteristic and cavity type. The slopes of change of the internal-ambient temperature differences with the cavity characteristic were assessed and compared statistically between vacant and active cavities based on the estimates, standard errors, and BCa confidence intervals produced from bootstrapping. This method was used to avoid problems of the limited sample sizes and a non-normal distribution in the models.

For further comparisons of the internal-ambient temperature differences or mean relative humidity between the two cavity types, I used Mann-Whitney tests. The internal-ambient temperature differences between two nesting stages were compared within the same set of tree cavities using Wilcoxon paired tests. Wilcoxon paired tests were used also to test the disparity between internal and ambient humidity measured simultaneously at each tree cavity. The relationships between internal temperatures and the corresponding ambient values were assessed using Spearman’s rank correlation.

The statistical calculations followed formulae in R version 3.4.4 (The R Core Team 2018). For bootstrap analyses, I utilised the boot package in R (Canty and Ripley 2017).

Results

Daily changes of air temperature in active cavities

Mean daily air temperatures in active cavities occupied by marsh tits were strongly related to ambient values, both during the incubation (Spearman’s rank correlation, rS = 0.91, p < 0.001, n = 37) and nestling periods (Spearman’s rank correlation, rS = 0.66, p < 0.001, n = 29), but the pattern of internal temperature change during the day differed from ambient conditions (Fig. 1).

Fig. 1
figure 1

Daily changes in the mean hourly air temperature (an = 37 and bn = 29) and relative humidity (cn = 24 and dn = 14) in active tree cavities (black dots) used by nesting marsh tits Poecile palustris in relation to ambient conditions (white dots) in the incubation and nestling periods in 2013–2014. Shown are means (dots) and standard errors (whiskers)

In the incubation period, temperature extremes in active cavities typically lagged 1–2 h behind the respective ambient values. Minima averaged 3.5 °C higher and maxima 1.1 °C lower compared to outside, whereas mean daily internal temperatures exceeded the ambient values by 1.3 °C on average (Fig. 1; Table 2). In the nestling period, mean hourly internal temperatures were consistently higher than outside (Fig. 1), with daily means, minima and maxima surpassing the ambient values by respective averages of 3.9, 5.0 and 2.6 °C (Table 2). At this stage, internal extremes typically lagged 2–3 h behind ambient values (Fig. 1).

Table 2 Mean, minimum and maximum daily ambient temperatures and respective internal-ambient temperature differences (°C) in the incubation and nestling periods in vacant and active tree cavities used by nesting marsh tits. The values shown refer to hourly means

Thermal conditions in active cavities in comparison to vacant sites

At comparable ambient temperatures, daily internal-ambient temperature differences were significantly higher in active than in vacant cavities, with most pronounced disparities in the nestling period (Table 2). This was due to an increase of internal temperatures relative to outside between the two nesting stages in active cavities (Wilcoxon paired test for daily means, V = 1, p < 0.001, n = 27), as in vacant sites, the values remained unchanged between both periods (Wilcoxon paired test, V = 129, p = 0.664, n = 22).

The ambient temperature extremes were reduced to the greatest extent in vacant cavities situated in the thickest parts of trees, with other cavity parameters having a minor influence on the buffering capacity of these cavities (95% confidence intervals overlapping with zero; Table 3).

Table 3 Results of bootstrapped (2000 replications) multiple regression showing changes in minimum or maximum daily internal-ambient temperature differences with dimensions and location in a tree of vacant cavities (n = 22 cavities at each stage) in the periods corresponding to the incubation and chick rearing at active cavities. Vacant cavities were previously used by nesting marsh tits but remained empty during the study. Cavity parameters showed no interdependency. Only cavities with a full set of available measurements were included

Although internal daily minimum temperatures in vacant cavities increased relative to outside with the increasing tree thickness (Table 3), the difference between internal and ambient daily minima remained stable in active cavities (Fig. 2, Table 4). Consequently, the disparities between the two types of cavities were greatest for those located in the thinnest trees (Fig. 2), although the interaction between tree girth and cavity type was significant only in the incubation period (Table 4).

Fig. 2
figure 2

Minimum (a, b) and maximum (c, d) daily internal-ambient temperature differences in vacant (white dots) and active (black dots) tree cavities used by nesting marsh tits in relation to tree girth at hole height in the incubation and nestling periods. Shown are trend lines and 95% confidence intervals

Table 4 Results of bootstrapped (2000 replications) ANCOVA comparing changes in minimum and maximum daily internal-ambient temperature differences with tree girth at hole height in active (n = 37 and 29 respectively) and vacant cavities (n = 22 at each stage) in the incubation and nestling periods. Only cavities with a full set of available measurements were included

As in vacant cavities, the differences between internal and ambient daily maximum temperatures were lowest in active cavities placed in thickest trees, with a consistent pattern during the two nesting stages (Fig. 2; Table 4).

Relative air humidity in active and vacant cavities

Mean hourly relative humidity was stable in active cavities during the 24-h period, despite fluctuating ambient conditions (Fig. 1), and averaged just above 80%, equalling or exceeding the corresponding ambient values in both nesting stages (Table 5). Under comparable ambient conditions at active (Table 5) and vacant cavities (mean daily ambient humidity averaging between 75.9% and 87.5%, SD = 8.3 and 6.6 respectively), the internal humidity was much lower in active (Table 5) than in vacant sites, where it amounted to 91.4% (mean, SD = 3.1) in the period corresponding to the incubation and 94.3% (mean, SD = 2.7) in the nestling stage (Mann-Whitney tests, comparison between internal values at active and vacant cavities in the respective nesting stages: W = 22 and 14, p < 0.001).

Table 5 Mean, minimum and maximum daily internal and ambient relative air humidity (%) in active tree cavities of marsh tits in the incubation and nestling periods. The values shown refer to hourly means

Discussion

Modification of the initial cavity microclimate by the occupants

The study shows that marsh tits visibly modified the initial microclimate of tree cavities they used for nesting. The presence of active nests inside these occupied cavities resulted in an elevated internal air temperature and lower relative air humidity, compared to vacant sites, with the greatest contrasts recorded in the late nestling period. As relative humidity depends on both the amount of water vapour in the air and the air temperature, the lower relative humidity was likely due to changes in heat production by the birds. Despite this microclimate modification, the patterns of daily temperature and humidity change in occupied nest sites remained similar to vacant cavities (Maziarz et al. 2017); daily air temperature amplitudes in active cavities still ranged within the corresponding ambient values, internal temperature extremes lagged the ambient ones, and relative humidity was stable at fluctuating ambient values.

The results confirm previous findings showing a quantifiable impact of endothermic activity of animals on cavity microclimate (e.g. Kendeigh 1961; Havera 1979; du Plessis et al. 1994; Willis and Brigham 2007; Veľký et al. 2010; Griffiths et al. 2017). The temperature increase with nest progression, recorded in active cavities of marsh tits, was consistent with observations in nest cavities of the Syrian woodpecker Dendrocopos syriacus (Mersten-Katz et al. 2012) and the great tit Parus major (Maziarz and Wesołowski 2013). However, a similar change of internal temperatures relative to outside was subtle in nest cavities of the Carolina chickadee Poecile carolinensis (Albano 1992) and was absent in those of the northern flicker Colaptes auratus (Howe et al. 1987).

The modification of thermal conditions inside tree cavities occupied by breeding marsh tits was comparable to a previous study of tree cavities used by breeding great tits in the same forest within BNP. The divergence of mean daily internal-ambient temperature differences between active and vacant cavities used by marsh tits averaged only 0.4–0.6 °C higher than between active and vacant cavities used by great tits (Maziarz and Wesołowski 2013). This small difference was notable because great tits in BNP typically occupied tree cavities that reduced ambient temperature extremes more effectively than marsh tits (Maziarz and Wesołowski 2013; Maziarz et al. 2017), and laid larger clutches of a median 10 eggs compared to the 7 eggs of marsh tits (Wesołowski 2003; Maziarz et al. 2016). Incubation of larger clutches may require greater energy expenditure by female birds (Biebach 1981; Haftorn and Reinertsen 1985), and larger broods of young would also be expected to generate proportionately more heat in the nest. As such, the amount of heat produced and retained inside nest cavities of great tits would be expected to be much higher than those of marsh tits. The raising of the internal temperatures, relative to outside, by a similar degree in both tit species might indicate that birds compensated for varying initial microclimates by appropriately modifying their heat generation within nest cavities to meet similar thermal requirements (Webb 1987).

Modification of cavity microclimate in relation to cavity insulation

As in other studies (e.g. Wiebe 2001; Paclík and Weidinger 2007; Isaac et al. 2008; Coombs et al. 2010; Maziarz et al. 2017; Vierling et al. 2018), those vacant cavities situated in the thickest parts of trees buffered most efficiently from ambient temperature extremes. Other cavity characteristics, such as hole height above the ground, entrance size, cavity depth or floor area, were less important in moderating the extremes. This showed that the thermal conditions of tree cavities used by marsh tits seemed to depend mostly on heat transfer through cavity walls, which were thicker in larger trees (Maziarz et al. 2017). As all cavities studied were situated in living trees, the water transported in the tree tissues probably further reduced the heat transfer through the cavity walls (e.g. Wiebe 2001; Coombs et al. 2010).

Nevertheless, the heating effect of marsh tit breeding activity was most pronounced in cavities placed in the thinnest parts of trees, which insulated least effectively, and where the disparity between minimum daily internal-ambient temperature differences for active and vacant sites was greatest. As minimum daily internal-ambient temperature differences remained stable in all active cavities, marsh tits seemed to compensate for the increased rate of heat loss through the walls of cavities in thinner trees by generating proportionately more heat within them (Mertens 1980).

These findings were in stark contrast to the expectations of greater heat retention in tree cavities that insulate most efficiently. Such expectations were based on observations from nest boxes, where those with improved insulation resulted in a greater internal temperature increase in response to an artificial heat source within, compared to those nest boxes without additional insulation (Kearney et al. 2011; Larson et al. 2018). Following installation of heat pads, Grüebler et al. (2014) recorded only a slightly greater temperature increase in empty tree cavities compared to nest boxes, which insulated less effectively. Nonetheless, the results of the current study confirm the patterns recorded by Veľký et al. (2010) in vacant and occupied nest boxes used by roosting great tits, where the increase of internal-ambient temperature differences due to presence of a bird tended to be greater when boxes lacked additional insulation, compared to when insulation was provided. Thus, unlike artificial heat sources, marsh tits seemed to actively modify thermal conditions inside their cavities by raising daily minimum air temperatures in a homeostatic manner, with respect to cavity insulation and ambient conditions (see also Ricklefs and Hainsworth 1969). Warming up the air and raising the minimum internal-ambient temperature differences to the same level in all active tree cavities was likely a by-product of the endothermic activity of nesting birds, necessary to meet the minimum thermal demands. Expending the additional amount of heat in nest cavities that insulated less efficiently could be essential to maintain the required egg temperature of c. 36–38 °C (Webb 1987) for normal development of embryos (e.g. Haftorn and Reinertsen 1985), or for self-maintenance to avoid hypothermia (O’Connor 1975; Mertens 1977a).

As the maximum daily internal-ambient temperature differences decreased with increasing tree girth at hole height in vacant and active cavities, daily ambient maxima were consistently moderated in cavities located in the thickest trees (Maziarz et al. 2017). These buffering properties of tree cavities could be particularly important for cavity-nesting birds on hot days, when ambient temperatures exceed 30 °C and large broods of fully feathered chicks in the smallest cavities may be at risk of hyperthermia (e.g. Mertens 1977b; van Balen 1984). Yet, these properties of tree cavities could also be crucial for other endothermic animals that use cavities for breeding or roosting, such as many mammals, especially in hot environments, where protection against extreme temperatures is pivotal (e.g. O’Connell and Keppel 2016; Rowland et al. 2017; Griffiths et al. 2018).

Using poorly buffering tree cavities might be costly for birds or other endothermic animals, due to greater energy expenditures or increased risk of overheating. However, the potential costs that the occupants might incur in such tree cavities would likely be lower than in standard wooden nest boxes, which are commonly provided as substitutes for tree cavities but are usually ineffective in moderating ambient temperature extremes (e.g. McComb and Noble 1981; Amat-Valero et al. 2014; Griffiths et al. 2017, 2018; Maziarz et al. 2017; Rowland et al. 2017). For example, to the best of my knowledge, all cases of chick mortality due to overheating were reported only from nest boxes (e.g. Mertens 1977b; van Balen 1984), with no similar incidences found in tree cavities. Thus, the metabolic rates of animals, or mortality risks due to overheating, would be expected to differ for those using nest boxes compared to those occupying tree cavities, with presumably the greatest disparities present at extreme temperatures (Rowland et al. 2017). As such, comparative observations of animals occupying both types of sites would be valuable to fully understand the threats and energetics of cavity users.

The role of cavity microclimate in nest site selection

Occupying well-insulating and moderately humid tree cavities could be advantageous for breeding birds (see “Introduction”), but marsh tits rarely use such sites, even with the availability of a large diversity of nesting options (Walankiewicz 1991; reviewed in Wesołowski 2007). Instead, marsh tits typically occupy cavities located in thin, living trees, where fluctuations in daily air temperature are relatively large and relative humidity often exceeds 90% prior to nest building by the birds (Wesołowski 1996; Maziarz et al. 2017). As shown in the current study, the breeding activity of birds reduced internal humidity by about 10% on average, but the values stayed at a level where hindered evaporation and ventilation could be still problematic by reducing the hatching success of chicks (Walsberg and Schmidt 1992).

As the nest site choice of marsh tits is unlikely to be limited by the availability of suitable tree cavities in BNP (Wesołowski 1996, 2007), the occupation of nest sites with advantageous microclimates seems to be constrained by other priorities. Avoidance of nest predation, which is the main cause of nest loss and mortality of breeding adults in BNP (reviewed in Wesołowski and Tomiałojć 2005), could be the main reason of the microclimate trade-off. By using cavities in thinner trees, which are more abundant in this forest than thicker stems (Wesołowski 1996; Maziarz and Broughton 2015), marsh tits nesting at low densities might greatly reduce the risk of detection by predators (Wesołowski 2002). To find marsh tit nests, predators would have to inspect numerous potential nest sites, and this would limit their hunting efficiency. Reducing the predation risk by occupying only a small fraction of available nest sites can be a common antipredator behaviour of birds (e.g. Martin 1993), and so this may also operate in marsh tits (Wesołowski 2002).

Additionally, strong walls of living wood around tree cavities could deter larger predators, such as the great spotted woodpecker Denrocopos major or pine marten Martes martes, which are less likely to breach them and access the nests (Walankiewicz 1991; Wesołowski 2002 and references therein; Czeszczewik and Walankiewicz 2003; Maziarz et al. 2016). As such, marsh tits, like other songbirds (e.g. reviewed in Collias and Collias 1984; de Zwaan and Martin 2018), probably balance their microclimatic requirements with nest safety when selecting their nest sites. The costs incurred when using tree cavities with sub-optimal microclimates could be mitigated by birds to some extent, however, for example, by building nests composed of well-insulating materials or laying smaller clutches of eggs and so raising smaller broods in less spacious cavities, all of which might reduce energy expenditure and the risk of overheating (e.g. Biebach 1981; O’Connor 1975; Mertens 1977b; Walsberg and King 1978; van Balen 1984; Lombardo et al. 1995; de Zwaan and Martin 2018).

Conclusions

The study provides new information on the effects of birds’ breeding activity on the microclimate of tree cavities used for nesting. As hypothesised, the presence of an active marsh tit nest within a cavity resulted in elevation of the initial internal temperature and a reduction of the relative humidity. This microclimate modification was more pronounced during the nestling period than in the incubation stage, being associated with increased heating activity by the birds as the nesting progressed.

Birds appeared to modify their heat production in a homeostatic manner, by warming the air to a greater extent within cavities that insulated less efficiently, and raising the minimum daily temperatures compared to ambient minima to a similar level in all nest sites. Additionally, as maximum daily internal temperatures were tempered most in tree cavities situated in the thickest trees, the buffering properties of tree cavities seemed to play an important role in reducing the risk of overheating.

Despite the apparent advantages of occupying well-insulating tree cavities with a moderate humidity, marsh tits rarely use holes with apparently optimal microclimates, probably due to avoidance of other threats, such as nest predation. The ability of birds to compensate for the potential costs associated with less suitable thermal and humidity conditions inside tree cavities may be essential for accommodating opposing selective forces and to breed in a wide range of ambient weather conditions.