The nematodes (/ˈnɛmətoʊdz/ NEM-ə-tohdz or NEEM-; Ancient Greek: Νηματώδη; Latin: Nematoda), roundworms or eelworms constitute the phylum Nematoda. Species in the phylum inhabit a broad range of environments. Most species are free-living, feeding on microorganisms, but many are parasitic. Parasitic worms (helminths) are the cause of soil-transmitted helminthiases.
They are classified along with arthropods, tardigrades and other moulting animals in the clade Ecdysozoa. Unlike the flatworms, nematodes have a tubular digestive system, with openings at both ends. Like tardigrades, they have a reduced number of Hox genes, but their sister phylum Nematomorpha has kept the ancestral protostome Hox genotype, which shows that the reduction has occurred within the nematode phylum.