Tapeworms are segmented flatworms that attach themselves to the insides of the intestines of animals such as cows, pigs, and humans. Tapeworms get food by eating the host's (animal) partly digested food, depriving the host (animal) of nutrients.