Osteichthyes have a bony endoskeleton. They control buoyancy with a swim bladder, and breathe through gills covered by a protective bony flap called the operculum. A lateral line allows fish such as sardines to sense vibrations in the water and change directions in synchrony.