It happens through 3 stages
In Meiosis one the cell produces diploid daughter cells by combining homogeneous and heterogeneous chromosomes.
In Meiosis two these diploids again tear apart to produce haploid daughter cells