The study of the living organisms that inhabit the ocean and their interactions with each other and the environment.