Lynx and hare example. Prey typically have a variety of adaptations to reduce becoming dinner. Even plants use mimicry. Lithops is a South African desert species that looks like a pebble. Although passionflowers produces lots of defensive chemicals, Heliconius butterflies can eat them with impunity.
Females lays yellow eggs on the leaves.
If a leaf has already been used, a female will avoid laying additional eggs on it. The plant produces yellow glands that look like leaves to trick butterflies into laying elsewhere. In addition, the plant produces nectar to attract predators that eat the caterpillars that develop from the eggs. There is a model and a mimic. The model is usually poisonous or has other well developed defensive system.