Birds and large mammals can escape critical dry spells by migrating along the desert plains or up into the mountains. Smaller animals cannot migrate but regulate their environment by seeking out cool or shady places. In addition to flying to other habitats during the dry season, birds can reduce heat by soaring. Many rodents, invertebrates, and snakes avoid heat by spending the day in caves and burrows searching out food during the night. Animals active in the day reduce their activities by resting in the shade during the hotter hours.