• food producers, i.e. Autotrophs like green plants, protophyta and chemosynthetic bacteria;
• food consumers, i.e. heterotrophs such ad animals, protozoa and some bacteria; and
• decomposers, I.e. saprophytes like fungi and some bacteria.
The non living part of an ecosystem is its abiotic components. It consists of abiotic resources and abiotic conditions
Abiotic resources:
These are what organisms need in order to stay alive. They include a source of energy -- sunlight -- from outside the ecosystem; and inorganic nutrients like carbon dioxide, water, nitrogen, phosphorus, etc.
Abiotic conditions:
These affect the behavior, growth and breeding patterns of organisms and so determine the kind of organisms that are found in a particular ecosystem. These conditions include
• air , water and soil, I.e. the habitat; and
• factors such as temperature, light intensity, humidity, water currents, wind , turbidity, etc.