Many well-studied insect species, such as the ant Leptothorax acervorum, the moths Helicoverpa zea and Agrotis ipsilon, the bee Xylocopa sonorina and the butterfly Edith's checkerspot release sex pheromones to attract a mate, and some lepidopterans (moths and butterflies) can detect a potential mate from as far away as 10 kilometers .