Clownfish are hermaphroditic - they are all born as males, with the ability to become female. Their schools are led by a large dominant female. If she dies, the dominant male will change his sex and take her place (a younger male then becomes the dominant male).