During meiosis and gametogenesis, homologous chromosomes pair and exchange genetic material by recombination, leading to the production of sperm or eggs with chromosome haplotypes containing novel genetic variation.
Meiosis is part of the process of gametogenesis, which is the production of sperm and eggs.