This document outlines the key producers and consumers in ecosystems. Primary producers, including photoautotrophs like plants and algae that perform photosynthesis, and chemoautotrophs in hydrothermal vents, produce their own food. Consumers are heterotrophs that obtain energy by eating other organisms, filling roles like carnivores, scavengers, decomposers that break down dead material, detritivores that feed on detritus, herbivores that eat plants, and omnivores with a varied diet.