A large phylum of segmented worms, with over 2,000 modern species including ragworms, earthworms and leeches.