Some of the photosynthetic species have pigments similar to chlorophyll a in higher plants, but they do not produce oxygen as a by-product of photosynthesis.
On a global scale, plants and other photosynthetic organisms have generated all of the oxygen in the air.