In human beings, which factor determines the sex of an individual?
A) genes within the chromosomes
B) number of chromosomes
C) pairing with the X chromosome
D) presence of the Y chromosome