Answer
Photosynthesis produces oxygen and the Calvin cycle turns CO$_2$ into organic compounds.
Work Step by Step
More specifically, in photosynthesis oxygen is produced as a byproduct of light reactions when water is reduced.
The overall goal of the Calvin cycle is to turn carbon from CO$_2$ into sugars for food, which occur through a series of enzymatic reactions.