The way the oceans function involves global systems that make the Earth habitable for humans, as they provide and regulate rainfall, drinking water, weather, climate, coastlines, much of our food, and even the oxygen in the air we breathe.