Hydroxydanaidal

Hydroxydanaidal is an insect pheromone synthesized by some species of moth from pyrrolizidine alkaloids found in their diet.

Use
The caterpillars of several kinds of arctiid moth ingest pyrrolizidine alkaloids—substances which plants produce to deter herbivores—and use them as protection against insectivores. The larva converts the alkaloid into an N-oxide for storage; on metamorphosis, the alkaloid is retained and used by the adult. This was discovered after the observation that Utetheisa ornatrix moths caught in spiderwebs were cut loose by the spiders.

Many insects that carry pyrrolizidine alkaloids are brightly-colored to signal their toxicity.

Male tiger moths convert the alkaloid through various intermediate stages into the pheromone hydroxydanaidal; female moth prefer males with more pheromone, since the alkaloid will be transferred into her eggs and protect them from predation.