RNA has the function of copying genetic information from DNA and transporting it to be used for protein synthesis. It differs from DNA in that RNA is single-stranded, contains the sugar ribose instead of deoxyribose, and contains the base uracil instead of thymine. The length of mRNA is much shorter than DNA as it only contains the code for a single protein, while DNA contains the full genome.