The variety of life forms that inhabit marine ecosystems, including plants, animals, and microorganisms.