The cyanobacteria is able to carry out the oxygenic photosynthesis and it produces oxygen as its own byproduct with the use of the oxidation of water. The byproduct serves as the electron donor for the light-dependant reactions. Thus, the cyanobacteria is classified as the photolithoautotroph.