This document discusses three phyla of worms: Platyhelminthes, Nematoda, and Annelida. Platyhelminthes includes flatworms like the planarian and tapeworm. Tapeworms are parasitic and can be many meters long. Nematoda includes roundworms like pinworms and trichina that can cause disease. Annelida includes segmented worms like earthworms and leeches. Earthworms live in soil and aid decomposition while leeches live in freshwater and feed on blood.