Gametogenesis, the production of sperm and eggs, takes place through the process of meiosis. During meiosis, two cell divisions separate the paired chromosomes in the nucleus and then separate the chromatids that were made during an earlier stage of the cell's life cycle, resulting in gametes that each contain half the number of chromosomes as the parent. The production of sperm is called spermatogenesis and the production of eggs is called oogenesis.