DNA and RNA are composed of nucleotides that are linked to one another in a chain by chemical bonds, called ester bonds, between the sugar base of one nucleotide and the phosphate group of the adjacent nucleotide. The sugar is the 3' end, and the phosphate is the 5' end of each nucleiotide.