Here's why:
* Collective nouns refer to a group of things or people as a single unit.
* A swarm is a group of insects (usually bees) flying together.
Even though a swarm is made up of many individual insects, we think of it as a single, cohesive entity.