Some species of bony fishes aren't limited to one particular ecosystem. Diadromous bony fish species migrate between fresh and saline environments. Depending on the species, bony fishes can live at various temperatures. Some live at extreme temperatures. At the opposite extreme, some species of bony fishes can survive freezing as long as their body fluids remain unfrozen.
Some bony fishes can tolerate high salinity levels.
Some species of gobies can tolerate salinity levels as high as 60 ppt. In general, fishes rely on oxygen dissolved in water for respiration. Some species of bony fishes require large amounts of dissolved oxygen. The lungfish must have access to the water's surface. Most bony fishes have small home ranges.