The phosphate is linked to the 5' carbon of the sugar in both RNA and DNA. The nitrogenous bases are adenine(A), guanine(G), cytosine(C), thymine(T), and uracil(U). Adenine and guanine are purines (contains a six membered ring of carbon and nitrogen fused to a five membered ring).