Wasp
Wasps first appeared in the fossil record in the Jurassic, and diversified into many surviving superfamilies by the Cretaceous. They are a successful and diverse group of insects with tens of thousands of described species; wasps have spread to all parts of the world except for the polar regions. The largest social wasp is the Asian giant hornet, at up to in length; among the largest solitary wasps is a group of species known as tarantula hawks, along with the giant scoliid of Indonesia ("Megascolia procer"). The smallest wasps are solitary chalcid wasps in the family Mymaridae, including the world's smallest known insect, with a body length of only , and the smallest known flying insect, only long.
Parasitoid
Within the Hymenoptera, parasitoidism evolved just once, and the many described species of parasitoid wasps represent the great majority of species in the order, barring those like the ants, bees, and Vespidae wasps that have secondarily lost the parasitoid habit. The parasitoid wasps include some 25,000 Ichneumonoidea, 22,000 Chalcidoidea, 5,500 Vespoidea, 4,000 Platygastroidea, 3,000 Chrysidoidea, 2,300 Cynipoidea, and many smaller families. These often have remarkable life cycles.
They can be classified as either endoparasitic or ectoparasitic according to where they lay their eggs. Endoparasitic wasps insert their eggs inside their host, usually as koinobionts, allowing the host to continue to grow (thus providing more food to the wasp larvae), moult, and evade predators. Ectoparasitic wasps deposit theirs outside the host's body, usually as idiobionts, immediately paralysing the host to prevent it from escaping or throwing off the parasite. They often carry the host to a nest where it will remain undisturbed for the wasp larva to feed on. Most species of wasps attack the eggs or larvae of their host, but some attack adults. Oviposition depends on finding the host and on evading host defenses; the ovipositor is a tube-like organ used to inject eggs into hosts, sometimes much longer than the wasp's body. Hosts such as ants often behave as if aware of the wasps' presence, making violent movements to prevent oviposition. Wasps may wait for the host to stop moving, and then attack suddenly.