Understand the definitions of the roles in the ecosystem: Producers are organisms that create their own food through photosynthesis (e.g., plants). Primary consumers are herbivores that eat producers. Decomposers break down dead organic matter, and apex predators are at the top of the food chain, consuming other organisms without being preyed upon.