Which of the following statements is correct regarding photosynthesis and cellular respiration?