In DNA, two chains are held together by hydrogen bonds between pyrimidine and purine bases. Adenine and guanine are purine bases which bind with thymine and cytosine (pyrimidines) respectively. Uracil replaces thymine in RNA and like thymine, binds with adenine.