hermaphrodite. One earthworm has both male and female sexual organs. However it still needs to mate with another earthworm to produce eggs.