Ans. (D). genes.
Gene represents a sequence of DNA, which codes for a functional molecule (such as RNA or protein). Information about inherited traits is stored and transferred through the genes.
Heredity occurs due to genetic material, which gets passed from parents to their progeny in the form of DNA. During reproduction, all the information for survival, growth, and reproduction, found in the DNA gets transferred to the next generation.
Thus, the correct answer is option (D).