Adenosine triphosphate, or ATP, is the most common source of
energy in cells, and is created through phosphorylation. This can
be photophosphorylation (as occurs in photosynthesis) or substrate
level phosphorylation, or oxidative phosphorylation.
ATP is created by adding a phosphate group to ADP (adenosine
diphosphate), so the answer to your question would be that the
energy is used to phosphorylate ADP, turning it into ATP.