modern underwater mats the top layer often consists of photosynthesizing cyanobacteria which create an oxygen-rich environment, while the bottom layer is oxygen-free and often dominated by hydrogen sulfide emitted by the organisms living there. Oxygen is toxic to organisms that are not adapted to it, but greatly increases the metabolic efficiency of oxygen-adapted organisms; oxygenic photosynthesis by bacteria in mats increased biological productivity by a factor of between 100 and 1,000. The source of hydrogen atoms used by oxygenic photosynthesis is water, which is much more plentiful than the geologically produced reducing agents required by the earlier non-oxygenic photosynthesis. From this point onwards life itself produced significantly more of the resources it needed than did geochemical processes. Oxygen became a significant component of Earth's atmosphere about 2.4 Ga. Although eukaryotes may have been present much earlier, the oxygenation of the atmosphere was a prerequisite for the evolution of the most complex eukaryotic cells, from which all multicellular organisms are built. The boundary between oxygen-rich and oxygen-free layers in microbial mats would have moved upwards when photosynthesis shut down overnight, and then downwards as it resumed on the next day. This would have created selection pressure for organisms in this intermediate zone to acquire the ability to tolerate and then to use oxygen, possibly via endosymbiosis, where one organism lives inside another and both of them benefit from their association. Cyanobacteria have the most complete biochemical "toolkits" of all the mat-forming organisms. Hence they are the most self-sufficient, well-adapted to strike out on their own both as floating mats and as the first of the phytoplankton, providing the basis of most marine food chains. Diversification of eukaryotes One possible family tree of eukaryotes Chromatin, nucleus, endomembrane system, and mitochondria Eukaryotes may have been present long before the oxygenation of the atmosphere, but most modern eukaryotes require oxygen, which is used by their mitochondria to fuel the production of ATP, the internal energy supply of all known cells. In the 1970s, a vigorous debate concluded that eukaryotes emerged as a result of a sequence of endosymbiosis between prokaryotes. For example: a predatory microorganism invaded a large prokaryote, probably an archaean, but instead of killing its prey, the attacker took up residence and evolved into mitochondria; one of these chimeras later tried to swallow a photosynthesizing cyanobacterium, but the victim survived inside the attacker and the new combination became the ancestor of plants;