True flies are insects of the order Diptera, the name being derived from the Greek δι- di- "two", and πτερόν pteron "wings". Insects of this order use only a single pair of wings to fly, the hindwings having evolved into advanced mechanosensory organs known as halteres, which act as high-speed sensors of rotational movement and allow dipterans to perform advanced aerobatics. Diptera is a large order containing an estimated 1,000,000 species including horse-flies,[a] crane flies, hoverflies and others, although only about 125,000 species have been described.
Flies have a mobile head, with a pair of large compound eyes, and mouthparts designed for piercing and sucking (mosquitoes, black flies and robber flies), or for lapping and sucking in the other groups. Their wing arrangement gives them great maneuverability in flight, and claws and pads on their feet enable them to cling to smooth surfaces. Flies undergo complete metamorphosis; the eggs are laid on the larval food-source and the larvae, which lack true limbs, develop in a protected environment, often inside their food source. The pupa is a tough capsule from which the adult emerges when ready to do so; flies mostly have short lives as adults.
Diptera is one of the major insect orders and of considerable ecological and human importance. Flies are important pollinators, second only to the bees and their Hymenopteran relatives. Flies may have been among the evolutionarily earliest pollinators responsible for early plant pollination. Fruit flies are used as model organisms in research, but less benignly, mosquitoes are vectors for malaria, dengue, West Nile fever, yellow fever, encephalitis, and other infectious diseases; and houseflies, commensal with humans all over the world, spread food-borne illnesses. Flies can be annoyances especially in some parts of the world where they can occur in large numbers, buzzing and settling on the skin or eyes to bite or seek fluids. Larger flies such as tsetse flies and screwworms cause significant economic harm to cattle. Blowfly larvae, known as gentles, and other dipteran larvae, known more generally as maggots, are used as fishing bait and as food for carnivorous animals. They are also used in medicine in debridement to clean wounds.