What is the meaning of Hermaphroditism?

Being able to reproduce as both male and female, either simultaneously (simultaneous hermaphroditism or cosexuality) or sequentially (sequential hermaphroditism or dichogamy).

Historically used to describe intersex people with intermediate sex characteristics or pseudohermaphroditism.

Source: wiktionary.org