Modifying the behavior of infected hosts, to make transmission to other hosts more likely to occur, is one way parasites can affect the structure of ecosystems. For example, in the case of Euhaplorchis californiensis (discussed above) it is plausible that the local predator and prey species might be different if this parasite were absent from the system.
Although parasites are often omitted in depictions of food webs, they usually occupy the top position. Parasites can function like keystone species, reducing the dominance of superior competitors and allowing competing species to co-exist.
Many parasites require multiple hosts of different species to complete their life cycles and rely on predator-prey or other stable ecological interactions to get from one host to another. In this sense, the parasites in an ecosystem reflect the "health" of that system.