An ecosystem is a community of living organisms interacting with their physical environment. It includes both biotic (living) and abiotic (non-living) components. The major biotic components of an ecosystem are:
(i) Producers: Organisms that produce food, primarily plants and algae. Example: Grass.
(ii) Consumers: Organisms that consume other organisms for food. Example: Herbivores, Carnivores.
(iii) Decomposers: Organisms that break down dead organisms. Example: Fungi and bacteria.