Topic summary
Swarming behavior

Extracted from the Wikipedia article Swarm behaviour.
Moths
Moths may exhibit synchronized mating, during which pheromones released by females initiate searching and swarming behavior in males. Males sense pheromones with sensitive antennae and may track females as far as several kilometers away. Swarm mating involves female choice and male competition. Only one male in the swarm—typically the first—will successfully copulate. Females maximize fitness benefits and minimize cost by governing the onset and magnitude of pheromone deployed. Too little pheromone will not attract a mate, too much allows less fit males to sense the signal. After copulation, females lay the eggs on a host plant. Quality of host plant may be a factor influencing the location of swarming and egg-laying. In one case, researchers observed pink-striped oakworm moths (Anisota virginiensis) swarming at a carrion site, where decomposition likely increased soil nutrient levels and host plant quality.