Actinopterygii (; ), members of which are known as ray-finned fishes, is a class of bony fish. They comprise over 50% of living vertebrate species. The ray-finned fishes are so called because their fins are webs of skin supported by bony or horny spines (rays), as opposed to the fleshy, lobed fins that characterize the class Sarcopterygii (lobe-finned fish). These actinopterygian fin rays attach directly to the proximal or basal skeletal elements, the radials, which represent the link or connection between these fins and the internal skeleton (e.g., pelvic and pectoral girdles). By species count, actinopterygians dominate the vertebrates, and they constitute nearly 99% of the over 30,000 species of fish. They are ubiquitous throughout freshwater and marine environments from the deep sea to the highest mountain streams. Extant species can range in size from Paedocypris, at , to the massive ocean sunfish, at , and the long-bodied oarfish, at . The vast majority of Actinopterygii (~99%) are teleosts. Characteristics Ray-finned fishes occur in many variant forms. The main features of typical ray-finned fish are shown in the adjacent diagram. The swim bladder is the more derived structure. Ray-finned fishes have many different types of scales; but all teleosts have leptoid scales. The outer part of these scales fan out with bony ridges, while the inner part is crossed with fibrous connective tissue. Leptoid scales are thinner and more transparent than other types of scales, and lack the hardened enamel or dentine-like layers found in the scales of many other fish. Unlike ganoid scales, which are found in non-teleost actinopterygians, new scales are added in concentric layers as the fish grows. Ray-finned and lobe-finned fishes sometimes possesses lungs used for aerial respiration. Only bichirs retain ventrally budding lungs. Body shapes and fin arrangements Ray-finned fish vary in size and shape, in their feeding specializations, and in the number and arrangement of their ray-fins. 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