Magnitus: Well, aren't they? Bug is a bit generic (they are insects more specifically), but I wanted to be somewhat more encompassing.
In colloquial speak, yes, but technically not. In techspeak "bug" refers to critters that have a sucking mouthpart thing, which ants and bees haven't got since they've got mandibles instead.
Magnitus: And yeah, bacteria are very deadly, though they tend to specifically target a single specie or a group so while they could definitely drive a specie to extinction, they'd be hard pressed to bring down the entire planet.
Conversely, an angry swarm of ants could take pretty much any specie, at least those that aren't aquatic.
Microbes can cause severe indirect damage though. For instance, imagine a species of bacteria that lays waste to bees, buggering up pollination. Better still, something that killed photosynhesizing plankton or anything that eats said plankton since that could change the composition of the air. The possibilities are as endless as they are unlikely.