How RNA and DNA used to make proteins?

dna has coded instructions for msking proteins, rna translatres the code.