The correct option is B By hibernating
The body temperature of ectotherms fluctuates with the environmental temperature.
That is why, they hibernate in winter and aestivate in summer to escape the harsh conditions.
Hibernation is a type of deep sleep done by some animals for conserving energy to survive adverse weather conditions or lack of food.