Answer:
They go hand in hand as a cycle.
Photosynthesis converts carbon dioxide and water into oxygen and glucose. Glucose is used as food by the plant, and oxygen is a by-product. Cellular respiration converts that glucose and oxygen into water and carbon dioxide, which then go through photosynthesis again.