Step 2: Define the trophic levels. Primary producers (e.g., plants) create energy through photosynthesis. Primary consumers (e.g., herbivores) eat the producers. Secondary consumers (e.g., carnivores or omnivores) eat primary consumers. Tertiary consumers eat secondary consumers, and decomposers break down organic matter.