photosynthesis is when plants make food. and to make food it has to take in carbon dioxid.and it needs sunlight and water. then it produces air for us to breath.