Photosynthesis is the process by which plants, some bacteria, which use the enrgy from sunlight to produce sugar, in which cellular respiration converts into ATP ( enrgy) or known as the " fuel" used by all living things. The conversion of the unusable sunlight energy into usable chemical energy, and is associated the the photosynthetic process of water and releases the oxygen that we most definitely need to stay alive. But also we need the food as well to stay alive too.
The eqaution for photosynthesis is 6CO2 + 6H2O → (sunlight) C6H12O6 + 6O2.