An animal phylum that comprises the segmented worms, and includes earthworms, leeches, and a number of marine and freshwater species.