Cyanobacteria, which are prokaryotic organisms which carry out oxygenic photosynthesis, occupy many environmental conditions, including fresh water, seas, soil, and lichen. Cyanobacteria carry out plant-like photosynthesis because the organelle in plants that carries out photosynthesis is derived from an endosymbiotic cyanobacterium. This bacterium can use water as a source of electrons in order to perform CO2 reduction reactions. Evolutionarily, cyanobacteria's ability to survive in oxygenic conditions, which are considered toxic to most anaerobic bacteria, might have given the bacteria an adaptive advantage which could have allowed the cyanobacteria to populate more efficiently.