Mecoptera (from the Greek: mecos = "long", ptera = "wings") is an order of insects in the superorder Holometabola with about six hundred species in nine families worldwide. Mecopterans are sometimes called scorpionflies after their largest family, Panorpidae, in which the males have enlarged genitals raised over the body that look similar to the stingers of scorpions, and long beaklike rostra. The Bittacidae, or hangingflies, are another prominent family and are known for their elaborate mating rituals, in which females choose mates based on the quality of gift prey offered to them by the males. A smaller group is the snow scorpionflies, family Boreidae, adults of which are sometimes seen walking on snowfields. In contrast, the majority of species in the order inhabit moist environments in tropical locations.
The Mecoptera are closely related to the Siphonaptera (fleas), with some studies suggesting that the fleas are a derived group of parasitic mecopterans, and a little more distantly related to the Diptera (true flies). They are somewhat fly-like in appearance, being small to medium-sized insects with long slender bodies and narrow membranous wings. Most breed in moist environments such as leaf litter or moss, and the eggs may not hatch until the wet season arrives. The larvae are caterpillar-like and mostly feed on vegetable matter, and the non-feeding pupae may pass through a diapause until weather conditions are favorable.