Which of the following best defines natural selection?

A.stress in a population of organisms

B.an organism’s preference of one habitat over another

C.mutation in an organism’s genes

D.differential success in some organisms’ reproduction due to traits that favor survival