Wasps laying eggs inside hornworms and after the eggs hatch, the wasp larvae feed on the hornworm is the example of parasitism.
Step-by-step explanation:
There are five types of relationships in an ecosystem. One of the relationships is parasitism. When we define ecosystem, we talk about the kind of interaction that there is between two or more different species.
Parasitism is the type of interaction between two species, in which one species, most likely a parasite, latches itself onto the other species. That other species then becomes a host to the parasite. After latching itself, it becomes dependent on it's host for resources like food and shelter. But, in this type of relationship, the host species is harmed for resources while the parasite species gains strength over time.