Diptera:
True flies are insects of the order Diptera, the name being derived from the Greek di = two, and ptera = wings. Insects of this order use only a single pair of wings to fly, the hindwings being reduced to club-like balancing organs known as halteres. 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 manoeuvrability in flight, and claws and pads on their feet enable them to cling to smooth surfaces.
All the insects groups included are from the infraclass Neoptera, which can flex their wings over the abdomen, so it does not include members of the Palaeoptera which cannot flex their wings in this way and includes dragonflies, damselflies and mayflies.
https://en.wikipedia.org/wiki/Fly