Gametes (sex cells) have 1 set (n) of chromosomes (haploid) and are produced by meiosis.
Somatic (non-reproductive) cells have 2 sets (2n) of chromosomes (diploid) and reproduce asexually by mitosis.
In humans, the haploid number is 23, and diploid number is 46.