Nucleic acids like DNA and RNA contain genetic instructions that allow cells to function. DNA, found in the nucleus, is the primary genetic material and uses base pairing between adenine, thymine, guanine and cytosine to form its double helix structure. RNA plays an important role in protein production by carrying genetic messages from DNA in the nucleus to ribosomes in the cytoplasm using base pairing between adenine, uracil, guanine and cytosine. During DNA replication, the double helix unwinds and each strand serves as a template to produce two new identical DNA molecules to be passed on to daughter cells. Genes in DNA code for specific proteins through mRNA which is translated by ribosomes.