Marine animals are either ectothermic or endothermic, with ectothermic animals like fish having body temperatures dependent on their environment while endothermic animals like mammals and birds can regulate their internal temperatures. All marine animals also must regulate salt levels in their bodies through osmoregulation as temperature and salinity of water can impact animals' physiology and survival.