photosynthesis and cellular respiration both are similar in the way that both produce energy. But photosynthesis differ from cellular respiration because in photosynthesis CO2 is used and O2 is released, while in cellular respiration O2 is used and CO2 is released