All organisms that use photosynthesis take in carbon dioxide and output oxygen. In seawater typically there is a greater percentage of oxygen at the surface and lower amount of oxygen elsewhere in the ocean. The opposite holds the true for carbon dioxide. -Google, I take no credit.