Germ cells, which give rise to sperm and ova, develop through a process known as gametogenesis. In males, this process is called spermatogenesis and occurs in the seminiferous tubules of the testes. In females, the process is known as oogenesis and takes place in the ovaries. During gametogenesis, germ cells undergo several stages of mitosis and meiosis to produce haploid cells.