Photosynthesis
The first photosynthetic organisms probably evolved early in the history of life. They may have used reducing agents such as hydrogen or hydrogen sulfide as sources of electrons, rather than water. Cyanobacteria appeared later, and the excess oxygen they produced caused the oxygen catastrophe. After this, the evolution of complex life was possible.