What determines the inherited traits an organism has?

Athe proteins produced by a cell
Bthe number of chromosomes in a cell
Cthe size of the chromosomes
Dthe genes of its chromosomes