Green plants produce a specific gas when under attack to both directly ward off herbivores and pathogens and indirectly lure in herbivore predators.