nucleoside chemical compound consisting of a heterocyclic base bound to a sugar group. The base can be either a purine (adenine and guanine) or a pyrimidine (cytosine in RNA and DNA, as well as thymine in DNA and uracil in RNA). Nucleosides form part of DNA and RNA, where the sugar groups are deoxyribose and ribose, respectively.