An ecosystem can be define as biotic community where living beings or biotic factors of the environment interacts with the non-living components or abiotic factors of the environment. This interaction is necessary for sustaining life on earth as living beings are dependent upon the non-living physical environment for completing their life cycles.
Biotic factors includes the plants, animals, microbes, and other living beings. Abiotic factors includes the soil, water, air and sunlight.