Many parasitic worms have an intermediate host, so are not passed directly from one animal to an other. Eggs are passed from the animal to the soil, then the eggs are picked up by the intermediary, where they mature, before moving onto the final host.