Plant chemical defenses can be used by herbivores, by storing eaten plant chemicals, and using them in defense against predators.
The passage describes how plant chemical defenses can be utilized by both herbivores and predators in the context of an ecological relationship.