A very few ichneumonid species lay their eggs in the ground, but the vast majority inject eggs either directly into their host's body or onto its surface, and this may require penetration of substrate around the host, as in wood-boring host larvae that live deep inside of tree trunks, requiring the ichneumon to drill its ovipositor through several centimeters of solid wood (e.g., "Megarhyssa" species). After hatching, the ichneumonid larva consumes its still living host. The most common hosts are larvae or pupae of Lepidoptera, Coleoptera and Hymenoptera. Some species in the subfamily Pimplinae also parasitise spiders. Hyperparasitoids such as Mesochorinae oviposit inside the larvae of other ichneumonoids. The hosts of some species are agricultural pests, therefore ichneumons are sometimes valuable for biological pest control, but the hosts of most species are unknown; host information has been reviewed and summarized by various researchers, e.g. Aubert, Perkins. and Townes.