How is ATP created?

ATP is created when ADP and a phosphate group bind together.