Ecologists divide the species in a community or ecosystem into different trophic levels based on their main source of nutrition. Carnivores that eat herbivores 4. Carnivores that eat other carnivores 5. Detritivore often form a major link between primary producers and the consumers in an ecosystem. An ecosystem's trophic structure determines the routes of energy flow and chemical cycling.
All organisms carry out each of the ecosystem processes to some extent.
Production refers to the rate of incorporation of energy and materials into the bodies of organisms. Consumption refers to the metabolic use of assimilated organic molecules for organismal growth and reproduction. Decomposition is the breakdown of organic molecules into inorganic molecules. The main primary producers will vary depending on the ecosystem. Plants are the main producers in most terrestrial ecosystems.