Queen ant reproducing ants or "flying ants" will leave their parent nest and take flight. The mating flights occur simultaneously in all ant nests of the particular species. The female "queen" ants will fly a long distance, during which they will mate with at least one winged male from another nest. He transfers sperm to the seminal receptacle of the queen and then dies. Once mated, the "queen" will attempt to find a suitable area to start a colony and, once found will detach her wings. The term "queen" is not particularly apt, as the queen ant has very little control over
Ant colony. This allows other ants to detect what task group (e.g., foraging or nest maintenance) other colony members belong to. In ant species with queen castes, when the dominant queen stops producing a specific pheromone, workers begin to raise new queens in the colony. Some ants produce sounds by stridulation, using the gaster segments and their mandibles. Sounds may be used to communicate with colony members or with other species. Ants attack and defend themselves by biting and, in many species, by stinging, often injecting or spraying chemicals, such as formic acid in the case of formicine ants, alkaloids and