information:filtering, stylistic:tone
Origin of photosynthesis

Oxygenic photosynthesis only evolved once (in prokaryotic cyanobacteria), and all photosynthetic eukaryotes (including all plants and algae) have acquired this ability from endosymbiosis with cyanobacteria or their endosymbiont hosts. In other words, all the oxygen that makes the atmosphere breathable for aerobic organisms originally comes from cyanobacteria or their plastid descendants.

Cyanobacteria remained the principal primary producers throughout the latter half of the Archean eon and most of the Proterozoic eon, in part because the redox structure of the oceans favored photoautotrophs capable of nitrogen fixation. However, their population is argued to have varied considerably across this eon. Archaeplastids such as green and red algae eventually surpassed cyanobacteria as major primary producers on continental shelves near the end of the Neoproterozoic, but only with the Mesozoic (251–65 Ma) radiations of secondary photoautotrophs such as dinoflagellates, coccolithophorids and diatoms did primary production in marine shelf waters take modern form. Cyanobacteria remain critical to marine ecosystems as primary producers in oceanic gyres, as agents of biological nitrogen fixation, and, in modified form, as the plastids of marine algae.