Around half of the total oxygen production on Earth comes from the ocean. Most of it is produced by oceanic plankton (drifting plants, algae, and certain bacteria that can photosynthesize). Roughly the same amount of oxygen produced in the ocean is then consumed by marine life.