text: Carbon dioxide in the Earth's atmosphere is essential to life and to most of the planetary biosphere. The average rate of energy capture by photosynthesis globally is approximately 130 terawatts, which is about six times larger than the current power consumption of human civilization. Photosynthetic organisms also convert around 100–115 billion metric tonnes of carbon into biomass per year.
  Photosynthetic organisms are photoautotrophs, which means that they are able to synthesize food directly from  and water using energy from light. However, not all organisms that use light as a source of energy carry out photosynthesis, since photoheterotrophs use organic compounds, rather than , as a source of carbon. In plants, algae and cyanobacteria, photosynthesis releases oxygen. This is called oxygenic photosynthesis. Although there are some differences between oxygenic photosynthesis in plants, algae, and cyanobacteria, the overall process is quite similar in these organisms. Some types of bacteria, however, carry out anoxygenic photosynthesis, which consumes  but does not release oxygen.
  Carbon dioxide is converted into sugars in a process called carbon fixation. Carbon fixation is an endothermic redox reaction, so photosynthesis needs to supply both the source of energy to drive this process and the electrons needed to convert  into a carbohydrate. This addition of the electrons is a reduction reaction. In general outline and in effect, photosynthesis is the opposite of cellular respiration, in which glucose and other compounds are oxidized to produce  and water, and to release exothermic chemical energy to drive the organism's metabolism. The two processes take place through a different sequence of chemical reactions, however, and in different cellular compartments.