stylistic:style_transfer, stylistic:tone, information:classification, quality:correction, information:extraction
Reproduction

In nearly all ray-finned fish, the sexes are separate, and in most species the females spawn eggs that are fertilized externally, typically with the male inseminating the eggs after they are laid. Development then proceeds with a free-swimming larval stage. However other patterns of ontogeny exist, with one of the commonest being sequential hermaphroditism. In most cases this involves protogyny, fish starting life as females and converting to males at some stage, triggered by some internal or external factor. Protandry, where a fish converts from male to female, is much less common than protogyny.

Most families use external rather than internal fertilization. Of the oviparous teleosts, most (79%) do not provide parental care. Viviparity, ovoviviparity, or some form of parental care for eggs, whether by the male, the female, or both parents is seen in a significant fraction (21%) of the 422 teleost families; no care is likely the ancestral condition. The oldest case of viviparity in ray-finned fish is found in Middle Triassic species of † Saurichthys. Viviparity is relatively rare and is found in about 6% of living teleost species; male care is far more common than female care. Male territoriality "preadapts" a species for evolving male parental care.

There are a few examples of fish that self-fertilise. The mangrove rivulus is an amphibious, simultaneous hermaphrodite, producing both eggs and spawn and having internal fertilisation. This mode of reproduction may be related to the fish's habit of spending long periods out of water in the mangrove forests it inhabits. Males are occasionally produced at temperatures below 19 °C (66 °F) and can fertilise eggs that are then spawned by the female. This maintains genetic variability in a species that is otherwise highly inbred.