The halteres are a pair of organs in a fly that "function as sensory flight stabilizers." (To quote from MW10.)

Now that I write that, I have a vague idea that I'd encountered the term before, but certainly not often.

Anyway, here's a diagram to give a clearer idea of what and where they are and what they look like.