A city park and the organisms in it can describe an ecosystem. Ecosystems consist of living organisms and the nonliving components of their environment that interact as a whole. Depending on the type of ecosystem, it can be divided into aquatic ecosystems, marine ecosystems, or freshwater ecosystems.