The study of the chemical composition and processes of the ocean, including dissolved gases, nutrients, and pollutants.