Chalcid wasp
Most of the species are parasitic on other kinds of insect. They attack the egg or larval stages of at least 12 different insect orders. When that insect is itself a parasitoid, then the chalcid is called a hyperparasitoid. Chalcids are sometimes used to control crop pests. A few chalcids  actually eat plants, and the most famous of these are the fig wasps.