An ecosystem consists of living organisms and their physical environment interacting as a system. It can be small, like a pond, medium sized like a forest, or large like the entire Earth. An ecosystem includes both biotic factors like producers, consumers, and decomposers, as well as abiotic factors like water, soil, and air. All parts of an ecosystem interact together.