Given the task definition and input, reply with output. Given a scientific passage and an answer, generate a question for the given answer.

Passage: Many flatworms are parasites with vertebrate hosts. Some are free-living carnivores that live mainly in aquatic habitats. Answer: aquatic
Some flatworms are free-living carnivores that live mainly in which type of habitats?