Halteres are club-shaped structures formed from the modified hind wings of flies (order Diptera, meaning 'two wings'). They function as gyroscopic sensory organs that help flies maintain balance during flight. The other orders listed (Lepidoptera - butterflies/moths, Orthoptera - grasshoppers/crickets, Hemiptera - true bugs) all have four functional wings and do not have halteres.