In the process of photosynthesis , the phosphorylation of ADP to form ATP using the energy of sunlight is called photophosphorylation . Only two sources of energy are available to living organisms: sunlight and reduction-oxidation ( redox ) reactions. All organisms produce ATP , which is the universal energy currency of life.