DNA has the genetic code for the protein that needs to be made, but proteins are made by the ribosomes - ribosomes are outside the nucleus in the cytoplasm. DNA is too large to leave the nucleus (double stranded), but RNA can leave the nucleus (single stranded).