In DNA, adenine pairs with Thymine. Similarly, in RNA, due to absence of thymine in RNA and the same structure with uracil helps to pair with adenine.
Comments