Flies are insects of the order Diptera, so named because they use only a single pair of wings to fly. The hindwings have evolved into advanced mechanosensory organs, halteres, that sense rotation and allow dipterans to perform advanced aerobatics.