You know that co-worker who will only have a bowel movement at home? Well, bees are the exact opposite. They will only go number two outside. Which means in the winter months, when things get cold, they hold it in until there’s a warm winter day (usually over 10 degrees Celsius) to head out on cleansing flights (aka poop runs). Beyond being generally fastidious creatures, bees have developed a set of behavioural traits to keep the hive healthy and safe for their brood.
Worker bees seal cracks in the hive with a coating of antibacterial propolis glue. Guard bees attack and kill foreign bees who attempt to enter. And strong colonies remove eggs and larvae of wax moths in cells and away from the corners of the hive. All of this (along with the cleansing flights) is a way of keeping the brood healthy and their honey stores free of contamination.
Despite bees being around for millions of years they have simple immune systems, so they have developed these behavioural traits to stay alive. Kinda like a spicy burrito for a white guy. Sometimes the run to the outhouse is a matter of life and death.