how are instructions for producing inheritable traits coded for in DNA?

how are instructions for producing inheritable traits coded for in DNA?