Animals hibernate as a survival mechanism to endure harsh conditions by lowering their body temperature, slowing down their metabolism, and entering a state of dormancy where they require minimal energy and resources to survive. This allows them to conserve energy and wait out the challenging conditions until more favorable conditions return.