Photosynthesis is the chemical reaction of CO2 and H2O to produce O2 and glucose, substances of high potential energy.
The processes also differ in that photosynthesis requires the input of energy (in the form of sunlight) and combustion releases energy (in several forms, including heat and light).