An ecosystem is a dynamic and complex whole, interacting as an ecological unit[?]. Some consider it is a basic unit in ecology, only a structured functional unit in equilibrium, caracterized by energy and matter flows between the different elements that compose it. But others consider this vision or a self-standing unit with coherent and stable flows only to be a bit restrictive.
An ecosystem may be of very different size. It may be a whole forest, as well as a little pond. Different ecosystems are often separated by geographical barriers, like deserts, mountains or oceans, or are isolated otherwise, like lakes or rivers. As these borders are never rigid, ecosystems tend to blend into each other. As a result, the whole earth can be seen as a single ecosystem, or a lake can be divided into several ecosystems, depending on the used scale.
The organisms in an ecosystem are usually well balanced with each other and with their environment. Introduction of new environmental factors or new species can have disastrous results, eventually leading to the collapse of an ecosystem and the death of many of its native species.
Ecosystem and ecoregion terms are often confused (large ecosystems being called ecoregions), but there is a large consensus to define ecoregions as being geographical defined units, relatively large, land or water, with distinctive features. Ecoregions are a way to codify the different regions within which are observed particular patterns or similarities in ecosystems.