Pheromones are commonly involved in mating rituals among species, especially moths, but they are also an important aspect of other forms of communication. Usually, the pheromones are produced by either the male or the female and detected by members of the opposite sex with their antennae. In many species, a gland between the eighth and ninth segments under the abdomen in the female produces the pheromones. Communication can also occur through stridulation, or producing sounds by rubbing various parts of the body together.