The genetic code within DNA that directs the development of traits and characteristics in an organism.