The nematodes ( /ˈnɛmətoʊdz/) or roundworms (phylum Nematoda) are the most diverse phylum of pseudocoelomates, and one of the most diverse of all animals. Nematode species are very difficult to distinguish; over 28,000 have been described, of which over 16,000 are parasitic. The total number of nematode species has been estimated to be about 1,000,000. Unlike cnidarians or flatworms, roundworms have tubular digestive systems with openings at both ends.
Nematodes have successfully adapted to nearly every ecosystem from marine to fresh water, to soils, and from the polar regions to the tropics, as well as the highest to the lowest of elevations. They are ubiquitous in freshwater, marine, and terrestrial environments, where they often outnumber other animals in both individual and species counts, and are found in locations as diverse as mountains, deserts, oceanic trenches, and within the earth's lithosphere. They represent, for example, 90% of all life forms on the ocean floor. Their numerical dominance, often exceeding more than 1 million individuals per square meter and accounting for about 80% of all individual animals on earth, their diversity in lifestyles and their presence at various trophic levels point at an important role in many ecosystems. Their many parasitic forms include pathogens in most plants and animals (including humans). Some nematodes can undergo cryptobiosis.