Ovipositor

Ovipositor of long-horned grasshopper (the two cerci are also visible)

The ovipositor is a tube-like organ used by some animals, especially insects, for the laying of eggs. In insects, an ovipositor consists of a maximum of three pairs of appendages. The details and morphology of the ovipositor vary, but typically its form is adapted to functions such as preparing a place for the egg, transmitting the egg, and then placing it properly. For most insects, the organ is used merely to attach the egg to some surface, but for many parasitic species (primarily in wasps and other Hymenoptera), it is a piercing organ as well.

Some ovipositors only retract partly when not in use, and the basal part that sticks out is known as the scape, or more specifically oviscape, the word scape deriving from the Latin word scāpus, meaning "stalk" or "shaft".