The correct answer is Pheromone. This isn't only common to moths, but mostly to all animals. Animals release pheromones to attract each other and procreate to ensure that the species continues existing. Sugars and hormones are completely different things and are unrelated to sexual attraction in animals.