"The sex of many fishes is not fixed, but can change with physical and social changes to the environment where the fish lives.Particularly among fishes, hermaphroditism can pay off in situations where one sex is more likely to survive and reproduce, perhaps because it is larger.