Why the sea breathes