Many animals are capable of changing their sex, but the most well-known example is the clownfish.
Clownfish are born male and live in social groups with a dominant female. If the female dies, the largest male in the group will transition into a female. This allows the group to maintain its reproductive hierarchy.
Other animals that can change their gender include:
* **Sea slugs:** Some species of sea slugs can switch genders multiple times throughout their lives.
* **Oysters:** Oysters can change their sex depending on environmental conditions and the availability of mates.
* **Wrasses:** Many species of wrasses are sequential hermaphrodites, meaning they start as males and can become females later in life.
This phenomenon, called sequential hermaphroditism, is a fascinating adaptation that allows animals to increase their reproductive success in challenging environments.