Plants are food for many types of animal – from microscopic eelworms to large mammals – but very few of these could be called pests.
Wasps are both pest and beneficial predator
Unless an animal causes damage great enough to destroy the feature for which the plant is grown, it cannot be termed a pest. Examples of a pest species include: carrot root fly maggots that bore in the roots of carrots, making them useless; codling moth grubs that feed inside apples causing them to fall prematurely; greenflies, which by their presence, render lettuce inedible.
The simplest way to solve a particular pest problem is not to grow the pest’s food plant, but, if it is decided to grow the plants, and there are pests in the vicinity, control measures may be necessary.