Cells undergo mitosis or meiosis to divide. Mitosis produces two identical daughter cells from one parent cell during normal cell growth and repair. Meiosis produces four haploid gametes from one diploid cell for sexual reproduction. During meiosis, homologous chromosomes pair up and may exchange DNA segments through crossing over, introducing genetic variation into the gametes. The first meiotic division separates homologous chromosomes, while the second division separates sister chromatids to produce four unique haploid cells.