Pigs root for earthworms in soil, and ingest the Metastrongylus larvae which are infesting the earthworms.
The passage describes a natural cycle where pigs consume earthworms that harbor Metastrongylus larvae, which then infect the worms.