The mature larva forms a prepupa, and then a pupa, which undergo metamorphosis to produce the adult. Existing in both grub-like and winged forms allows the fly to maximally exploit ephemeral food ...