How is ATP related to phosphorylation?
ATP is the phosphorylated form of the nucleoside Adenosine.
Adenosine is a ribose sugar and the base Adenine.
In order to make ATP, you just have to add 3 phosporic acid groups (one bond is a phospho-ester, the other bonds are phophoanhydrides).
The result of the phosphorylation is ATP, Adenosine Triphosphate.