Which statement is true for both photosynthesis and cellular respiration?

Which statement is true for both photosynthesis and cellular respiration?

A) It occurs in consumers
B) It occurs in producers
C) It produces carbon dioxide
D) It produces oxygen