Here's why:
* Herbivores eat only plants.
* Carnivores eat only meat.
* Omnivores eat both plants and animals.
Fruit gnats primarily feed on decaying fruit (a plant-based food source). However, they also feed on fungi, yeast, and even other insects, making them omnivores.