According to Mendel’s law of segregation, what happens to chromosomes during meiosis?

A. Heterozygous chromosome pairs undergo crossing over.

B. Homozygous chromosome pairs attach to their centromeres.

C. Homologous chromosome pairs line up in the center of the cell.

D. Homologous chromosome pairs pull away from each other.