The sex cells, or gametes, develop from sex stem cells by the process of meiosis. The stem cell is diploid which means that it has a pair of each of the 22 autosomal (non-sex) chromosomes and 2 sex chromosomes for a total of 46 chromosomes. The stem cell then undergoes two divisions: