Based on my (limited) understanding, some types of animals use the power of numbers for protection. I assume, then, some species instinctively respond to threat by immediately seeking out and joining their group/hive/pack, not just to hide or get lost within the group (eg., school of fish), but to also take advantage of the power of the organized group (eg., swarm of bees).
Is this correct? If so, what are some examples?
[Note: It is my understanding that bees don't flee to their hive in response to threat, but rather sting and release a pheromone to draw the other bees to the area and create a swarm.]