Hello.
TP is a molecule with adenosine and three phosphate groups attached to it (adenosine triphosphate). To get energy from ATP, one of the bonds between the phosphates is broken, yielding energy and the molecule ADP - adenosine diphosphate, a molecule with adenosine and two phosphates.
In order to 'recharge' the molecule, a phosphate group is re-attached to ADP by ATP-synthase to yield ATP. In other words, energy is stored in the bonds between phosphates, and breaking the bond releases that energy.
Have a nice day