A haploid cell has a single set of chromosomes, while a diploid cell has two sets of chromosomes. Haploid cells are found in organisms such as bacteria and fungi, while diploid cells are found in animals, plants and some other organisms. In humans, a haploid cell has 23 chromosomes, while a diploid cell has 46 chromosomes. A haploid cell is formed when the two sets of chromosomes in a diploid cell separate during the process of meiosis. During meiosis, a diploid cell divides twice to produce four haploid cells. These haploid cells are the gametes, or sex cells, that are involved in sexual reproduction.