During the process of Meiosis, four haploid cells are produced. Two from sperm, and two from eggs. The goal is to form two chromosomes that have exactly half as many chromosomes as the starting cell. Before all this we start as diploid cells though. which have two sets of chromosomes. When successfully fertilized the diploid cells produce the haploid cells which only have one set of chromosomes.
Hope this helps!