Messenger RNA carries the code for protein synthesis from DNA to the ribosome and is located in the nucleus but then enters the cytoplasm where it attaches to ribosomes.
DNA and RNA are similar in some aspects, containing sugar alternating with phosphate, containing the nitrogenous bases adenine, guanine, and cytosine, and playing a role in protein synthesis.
DNA replication involves the unwinding of the DNA double helix, breaking of weak hydrogen bonds between the nitrogenous bases, separation of the DNA strands, and building of a DNA strand onto each of the original DNA strands, attaching their complementary nitrogenous bases.