An ecosystem consists of a community of organisms interacting with each other and their surrounding physical environment. As it comprises of both biotic and abiotic components. For the sake of convenience, ecosystems can be broadly categorised into aquatic ecosystems and terrestrial ecosystems.