Earthworms are hermaphrodites. So when two worms mate, both worms produce offspring.