The process of germ cell development from the primordial germ cells to the mature haploid GAMETES: ova in the female (oogenesis) or sperm in the male (spermatogenesis).