Most producers are green plants that can manufacture their food through the process of photosynthesis . Consumers or heterotrophs get their energy and nutrients by feeding directly or indirectly on producers. We can distinguish two main types of consumers. Herbivores are consumers that eat plants for their energy and nutrients. Organisms that feed on herbivores are called carnivores .
Carnivores can also consume other carnivores.
Plants and animals supply organic matter to the soil system through shed tissues and death. Consumer organisms that feed on this organic matter, or detritus , are known as detritivores or decomposers . The organic matter that is consumed by the detritivores is eventually converted back into inorganic nutrients in the soil. These nutrients can then be used by plants for the production of organic compounds. Relationships within an ecosystem.