Producers synthesize their food through photosynthesis using energy from sunlight and carbon dioxide from the Air. Their respiration returns carbon dioxide to the atmosphere. Consumers use the food produced by producers for energy. Their respiration also returns carbon dioxide to the atmosphere.