however, vestigial structures may have their original function replaced with another. for example, the halteres in flies help balance the insect while in flight, and the wings of ostriches are used in mating rituals, and in aggressive display. the ear ossicles in mammals are former bones of the lower jaw.