A subunit of DNA and RNA that is composed of a nitrogen base, a sugar, and a phosphate. messenger RNA contains the genetic code that ribosomes use to build amino acids into long chains that form proteins, a process call translaton. (HW) The assembly of amino acids into protein.