Meiosis produces haploid gametes from a diploid cell in two divisions. In meiosis I, homologous chromosomes pair and undergo recombination during prophase I, then separate, reducing the chromosome number by half. Meiosis II is similar to mitosis, dividing the haploid cells into four haploid gametes. Meiosis ensures genetic variation between gametes and maintains the chromosome number between generations.