Snakes, being cold-blooded, rely on their surroundings to regulate body temperature. Like other ectothermic animals, they bask in the sun to warm up, seek shade or water to cool down. So, when conditions are not conducive for temperature regulation, they brumate.