A food chain describes how organisms transfer energy by consuming other organisms. Plants are producers that make their own food through photosynthesis, using raw materials like carbon dioxide, water, and sunlight. Herbivores eat plants, and carnivores eat herbivores and other carnivores, playing the role of consumers in the ecosystem. All cells require energy from food, with plants making their own through photosynthesis and animals obtaining food by consuming other organisms.