Plant immune systems, like those of humans and animals, face a difficult balancing act: they must mount responses against ever-evolving pathogens, but they must not overdo it. Immune responses require energy and resources and often involve plants killing their own infected cells to prevent the pathogens from spreading.