The diet of wasps varies depending on their life stage. Adult wasps primarily feed on nectar and sweet substances, such as fruit juices and plant sap, which provide them with the energy they need for flight and other activities.  However, during the larval stage, wasps are carnivorous, hunting and consuming a variety of prey, including insects, spiders, and other small invertebrates. They play a crucial role in controlling populations of pest insects, making them valuable contributors to ecosystem balance.