These are sugar molecules that are linked together by phosphate groups to form the sugar-phosphate backbone. The nitrogenous bases (adenine, guanine, cytosine, and thymine in DNA; adenine, guanine, cytosine, and uracil in RNA) attach to these sugars, forming the "rungs" of the DNA or RNA ladder.