halteres
Halteres are paired balancing organs of the true flies (order Diptera). They are modified hindwings reduced to small, knob-like structures that protrude behind the wings and are connected to the thorax by a slender stalk. In flight, halteres beat in synchrony with the wings and act as gyroscopic sensors.
The knob and its base house mechanoreceptors that detect deflection of the haltere as the body experiences
Halteres are a defining feature of Diptera and contribute to the exceptional aerial control of many flies.