The term wasp is typically defined as any insect of the order Hymenoptera and suborder Apocrita that is neither a bee nor ant. Almost every pest insect species has at least one wasp species that preys upon it or parasitizes it, making wasps critically important in natural control of their numbers, or natural biocontrol. Parasitic wasps are increasingly used in agricultural pest control as they prey mostly on pest insects and have little impact on crops.
The majority of wasp species (well over 100,000 species) are “parasitic” (technically known as parasitoids), and the ovipositor is used simply to lay eggs, often directly into the body of the host. See here. The most familiar wasps belong to Aculeata, a division of Apocrita, whose ovipositors are adapted into a venomous sting, though a great many aculeate species do not sting. Aculeata also contains ants and bees, and many wasps are commonly mistaken for bees, and vice-versa. In a similar respect, insects called “velvet ants” (the family Mutillidae) are technically wasps.(wiki)