The molecules found in both ATP and ADP are adenine, ribose, and phosphate groups.
ATP or adenosine triphosphate is composed of one adenine molecule, a ribose sugar and three phosphate groups. Its chemical formula is C10H16N5O13P3.
ADP or adenosine diphosphate is composed of one adenine molecule, a ribose sugar and two phosphate groups. Its chemical formula is C10H15N5O10P2.