information:filtering, structural:scholar_edition
Adult

The adult stage is usually short, its function is only to mate and lay eggs. The genitalia of male flies are rotated to a varying degree from the position found in other insects. In some flies, this is a temporary rotation during mating, but in others, it is a permanent torsion of the organs that occurs during the pupal stage. This torsion may lead to the anus being below the genitals, or, in the case of 360° torsion, to the sperm duct being wrapped around the gut and the external organs being in their usual position. When flies mate, the male initially flies on top of the female, facing in the same direction, but then turns around to face in the opposite direction. This forces the male to lie on his back for his genitalia to remain engaged with those of the female, or the torsion of the male genitals allows the male to mate while remaining upright. This leads to flies having more reproduction abilities than most insects, and much quicker. Flies occur in large populations due to their ability to mate effectively and quickly during the mating season. More primitive groups mates in the air during swarming, but most of the more advanced species with a 360° torsion mate on a substrate.