Flatworms are hermaphroditic.

Individuals fight to be the male and inject sperm. The one that receives the sperm, serves as a female as her eggs get fertilized.