Everything is a part of the food chain or environmental chain. Especially small creatures such as insects. Most of them are food for some kind of animals, and they do chew on plants, leftover, dead animals, garbage, etc. They have their place. Most of the insects are around much longer than humans.