In RNA, uracil base-pairs with adenine and replaces thymine during DNA transcription. Methylation of uracil produces thymine. In DNA, the evolutionary substitution of thymine for uracil may have increased DNA stability and improved the efficiency of DNA replication (discussed below). Uracil pairs with adenine through hydrogen bonding. When base pairing with adenine, uracil acts as both a hydrogen bond acceptor and a hydrogen bond donor. In RNA, uracil binds with a ribose sugar to form the ribonucleoside uridine. When a phosphate attaches to uridine, uridine 5'-monophosphate is produced.