A small lizard spends the morning hours lying in the sunlight until its body temperature rises. Later on in the day, the lizard rests in a shady area until its body temperature cools. This type of behavior is important to
1. Maintain homeostasis.
Since lizards are cold blooded animals, their body temperature depends on environmental conditions. As a result, they modify their behaviour to maintain homeostasis.