It is a cycle. The molecule of ATP has 3 phosphates (that is why it is ATP - adenosine triphosphate) and when the bond between the second and third phosphate is broken, energy is released. This forms a new molecule, ADP which only has 2 phosphates (ADP - adenosine diphosphate). See the attached diagram for more information.