When leaf beetle larvae eat goldenrod, the damaged plant emits a chemical message, which informs the insect that the plant is damaged and is a poor source of food. The airborne chemicals are also noticed by undamaged neighboring plants, warning them to produce their own chemical defenses so they are ready for approaching enemies.