The first photosynthetic organisms probably evolved early in the evolutionary history of life and most likely used reducing agents, such as hydrogen or hydrogen sulfide, as sources of electrons, rather than water.[6] Cyanobacteria appeared later; the excess oxygen they produced contributed to the oxygen catastrophe,[7] which rendered the evolution of complex life possible.