It should be noted here that both cell photosynthesis and cellular respiration processes make chemical energy available for life. Photosynthesis transforms light energy into chemical energy stored in glucose, and cellular respiration releases the energy from glucose to build ATP, which does the work of life. As shown in the following Photosynthesis and cellular respiration diagram, Photosynthesis converts CO2 and H2O into O2 and Glucose (C6H12O6). At the same time, Cellular respiration converts oxygen and glucose into H2O and CO2. As illustrated here, H2O and Co2 are by-products, and ATP is transformed from the entire process.