Plants are producers that make their own food through photosynthesis. During photosynthesis, plants use sunlight, carbon dioxide, and water to produce oxygen and sugar (chemical energy). Animals cannot produce their own food and must consume other organisms, such as plants or other animals, to obtain energy. The process of photosynthesis and the roles of producers and consumers in the food chain are essential for life on Earth.