What are the Main Parts of An Ecosystem?

An ecosystem includes all of the living and non-living things that are found within a particular area. The main parts of any ecosystem are the living organisms within the community, heat and light from the sun, the soil within the area and water.