A flat worm is a simple invertebrate with a soft, flattened body. It includes planarians, flukes, and tapeworms in the phylum Platyhelminthes. Many species live in water or soil, and some are parasites of animals and people.