what is the role of DNA in the transmission of traits?