Thermoregulation

The biological process by which an organism maintains its internal body temperature within an optimal range, despite external environmental fluctuations, through behavioral, physiological, or anatomical mechanisms.