Parasitic wasps get most of their protein from the host Insecta or Araneae they eat as larvae. Adult parasitic wasps mostly just drink nectar.
Most non-parasitic wasps are predators and scavengers. They feed on dead animals, or hunt insects and spiders, and use their sting to paralyze their prey. They eat their prey themselves or bring some back to the hive to feed growing larvae. Some make individual cells, and put a supply of paralyzed prey animals in there along with an egg. The larva hatches and there is all the food they need. In general wasps are attracted to sugary foods like fruit or high protein foods like meat.
Some wasp species have larvae that eat plants the same way that caterpillars do.
No one has provided updates yet.