Photosynthesis is the process by which plants take in (use) Carbon-dioxide and water to make food (starch).
Photosynthesis:
Cellular respiration is the process in which cells use oxygen to break down starch into energy molecules and give out Carbon-dioxide.
Cellular respiration:

So, in Photosynthesis, carbon-dioxide is taken in (used) and in cellular respiration, carbon-dioxide is thrown out (waste product)