Parasitoids
Photo by Bruce Marlin - Creative Creative Commons License.
The spike projecting from the abdomen is an ovipositor not a sting. Parasitoids lay their eggs in the bodies of other insects. Their larva then eats the victim alive before pupating.