dichogamy

(noun)

noun

1. (biology) The condition in which an organism changes sex during its lifetime.