It's hypothesized that warm-bloodedness evolved in mammals and birds because it provided defense against fungal infections. Very few fungi can survive the body temperatures of warm-blooded animals. In contrast, fungal infections are a problem for insects, reptiles, and amphibians.
Previous Fact Next Fact