The ocean produces oxygen through the plants (phytoplankton, kelp, and algal plankton) that live in it.
Explanation:
These plants produce oxygen as a byproduct of photosynthesis, a process which converts carbon dioxide and sunlight into sugars the organism can use for energy. (hope this helps <3)