Then a new type of bacteria evolved. These cyanobacteria created energy in a new way: photosynthesis, using sunlight to split water. Oxygen was just a waste product of this process, but over time ...