Endothermy and homeothermy are fundamental aspects of mammalian physiology whose evolutionary origin remains poorly understood. Although many explanations have been suggested for the origins of endothermy and homeothermy, none are fully satisfactory given their high metabolic costs (
1,
2). Furthermore, the factors responsible for the mammalian set point remain unknown, posing the additional question of why mammals are so hot. Recently, the observation that fungal diseases are common in plants and insects but rare in mammals, combined with the thermal susceptibility of fungi, led to the proposal that mammalian endothermy and homeothermy create a thermal exclusionary zone that protects mammals against mycoses (
3). Endothermy was also suggested to have provided a fitness advantage in the fungal bloom that followed the end of the Cretaceous such that it could have contributed to the success of mammals in the Tertiary (
3,
4).
Assuming that a relationship exists between endothermy and reduced susceptibility to certain classes of microbes, we hypothesized a tradeoff relationship whereby the high costs of endothermy were mitigated by protection against infectious diseases. In other words, we posited that increases in body temperature would protect against microbes by creating a thermal exclusionary zone but that such increases would be increasingly costly with regard to metabolic rates as the host body temperature diverged from ambient temperatures. Given that there is robust information on fungal thermal tolerances (
3), we decided to test this hypothesis by attempting to identify body temperatures that confer maximal fitness for certain metabolic rates.
To address this question, we propose a first-order model wherein a tradeoff exists between the excess metabolic rates required to maintain a body temperature,
T, and the benefit gained by protection against deleterious microbes because of the creation of a thermal exclusion zone. Metabolism, the exchange of energy between the organism and its environment, as well as the transformation of that energy to material within an organism, is affected by two main factors, body mass,
M, and body temperature,
T. Due to the fractal nature of transport networks, that is, vessel architecture and branching (
5,
6), over ontogeny, the resting metabolic rate,
Brest, scales with body mass,
m, as
Brest

, where
B0 is a normalization constant for a given taxon. Also, the normalization coefficient,
B0, exponentially increases with body temperature

, where
E0 is the average activation energy for the rate-limiting enzyme-catalyzed biochemical reactions of metabolism (ca. 0.65 eV),
K is Boltzmann’s constant (8.62 × 10
−5 eV/K), and
T is body temperature (
5,
7). The scaling relationship between resting metabolic rate and body mass,

, has been predicted from allometric theories and supported by data on a diverse set of organisms, including mammals, birds, fish, and mollusks (
8–
11). As can be seen from the formulas above, body temperature affects the metabolic rate through its effects on rates of biochemical reaction kinetics according to Boltzmann’s factor,

, where
T is measured in kelvins (absolute temperature). The resting metabolic rate,

, is proportional to the product of these two effects and again has been shown to be well approximated, within a biologically relevant temperature range (0°C to 40°C), as

(
5). The first part of our analysis examined the excess cost for an organism of body mass
m to maintain a body temperature
T (assuming no dependence of body mass on temperature).
In the second part of our analysis, the benefit, noted here as

, is calculated as the reduction in the number of fungal species capable of infecting a host; this number is reduced approximately by

for every degree Celsius in the temperature range of 27°C to 40°C (
3). The increased benefit of the successive elimination of fungal species can thus be expressed as

, where
F0 is a constant scaling factor. The quantity

can represent the balance between cost and benefit; thus,

can be viewed as the total fitness of an organism as a function of its body temperature. Within the biologically relevant temperature range, the proposed fitness measure reaches its maximum at approximately 37°C (). Note that in this formulation, the optimal body temperature, where

attains its maximum value, does not depend on the organism’s body mass. Furthermore, the one parameter that is determined from biological observation is the reduction in the number of fungal species capable of infecting a host; thus, to determine our model’s dependence on this parameter, we calculated the optimal temperature over a wide range of possible reduction percentages, i.e., 4% to 8%. In this range, the optimal temperature was found to remain in a tight range of less than 2°C, from 37.7°C to 35.9°C, respectively, which is still within the biologically relevant range of mammalian body temperatures. The insensitivity of the model to its only parameter further strengthens our hypothesis.
In summary, we present a minimal, parsimonious model to account for the cost of maintaining a high body temperature in mammalian organisms. A body temperature of 36.7°C maximizes fitness by restricting the growth of most fungal species relative to its metabolic cost. Our model suggests that no additional elaborations are required to explain the evolution of endothermy other than the tradeoff between protection against environmentally acquired microbial diseases and the cost of metabolism. Although we cannot rule out the possibility that this body temperature optimum arose by some remarkable coincidence, we think this highly unlikely because it emerges from considering two unrelated processes, fungal thermal tolerance and mammalian metabolic costs. Nonetheless, we acknowledge that similar temperature optima might emerge from other considerations. For example, the specific heat capacity of water has a minimum at 36°C, and if the efficiency of metabolic processes is related to heat capacity, then using this parameter as the optimality criterion may result in a similar range of solutions. Nevertheless, we note the internal consistency in the theme that fungal diseases are rare in immunologically intact mammals and the tradeoff between increased fitness and metabolic costs closely approximates mammalian body temperatures.