The life cycle of the parasite is quite complex. A fish-eating bird (typically a great blue heron or kingfisher) eats an infected fish. The black spot or worms are released and grow to sexual maturity in the bird's intestine. The adult worms pass eggs with the bird's droppings. When the eggs reach water, they hatch into free-swimming organisms which then penetrate snails for further development.
Thanks for giving me yet another reason to dislike the heron stalking my pond...