Disparlure is a sex pheromone, which means it's a chemical produced by an animal that triggers a specific behavioral response in another animal of the same species. In the case of the gypsy moth, the pheromone attracts males.
Male gypsy moths have highly sensitive antennae that can detect even minuscule amounts of disparlure. This allows them to find females from long distances, even miles away!