Photosynthesis takes in carbon dioxide produced by breathing organisms and reintroduces oxygen into the atmosphere. Photosynthesis is the process used by plants, algae, and certain bacteria to harness energy from sunlight and turn it into chemical energy. Photosynthesis provides oxygen and food for all living things on Earth.