It is very interesting how photosynthesis and cellular respiration help each other. During photosynthesis, the plant needs carbon dioxide and water-- both of which are released into the air during respiration. And during respiration, the plant needs oxygen and glucose, which are both produced through photosynthesis!
Hope this helps :D