The study of the chemical composition and processes of the ocean, including the carbon cycle and ocean acidification.