Ecosystems are composed of living and non-living components that interact. There are three main types of ecosystems - terrestrial, aquatic, and mixed. Terrestrial ecosystems occur on land, aquatic in water, and mixed at the intersection of the two. Ecosystems contain producers, consumers, and decomposers. Producers like plants convert sunlight to food, consumers eat producers or each other, and decomposers break down waste. Abiotic factors such as climate, soil and sunlight also influence ecosystems. All components interact in a balanced web of life.