Figure 22.4: The fruit fly Drosophila melanogaster passes through three larval stages and a pupa before developing into an adult fly. the three major body parts of the adult are head, thorax, and abdomen.