usually nonphotosynthetic free-living protozoan with whiplike appendages; some pathogens of humans and other animals