The study of the ecosystem and its biological diversity, which includes plants, animals, and microorganisms.