Any of various flatworms of the order Tricladida living in marine, freshwater, or terrestrial environments.