Red algae, C4 plants arid blue green algae use light energy for reducing CO2 to organic compounds and water (H2O) as a source of electrons. Hence, oxygen (O2) is evolved but in case of photosyiithetic bacteria, light energy is used for CO2 reduction but water is never used as source of electrons, hence, O2 is never evolved during bacterial photosynthesis.