so ATP is adenine triphosphate
it has 3 phosphate groups, hence the 'tri'
it has nitrogen containing carbon rings
and it also had a carbon ring containing OH groups
i can't draw it on here but if you google the structure hopefully my explanation will make more sense