Male and female Tephritidae are readily distinguished by their terminalia (apical parts of abdomen). In the male, tergite 5 is elongate and segments 6-8 are reduced. The epandrium and surstyli form an inverted U-shaped structure located ventral to the apex of the abdomen. The phallus, a long, slender organ, originates between the epandium and hypandrium on the ventral side, but most of it is usually coiled and at rest is located between the epandrium and tergite 5, but it can be extruded. In the female tergite 7 and sternite 7 are fused to form a tubular or conical oviscape. The eversible membrane and aculeus (formed from segment 8 and the fused cerci) telescope inside the oviscape.