Homeostasis is the ability of an organism to maintain a stable internal environment despite changes in external conditions. Thermoregulation, the maintenance of a constant body temperature, is a classic example.