Primordial germ cells (PGCs) are the precursors of gametes that are unipotent and differentiate into sperm and oocytes. PGCs originate in the endodermal epithelium of the yolk sac in human embryos and migrate to the developing gonads guided by chemical signals. They are specified through a transcription factor network including BMP4 and PRDM14 that allows them to regain pluripotency. In the developing gonads, the sex chromosomes determine if the gonad develops as a testis or ovary, influencing if the PGCs become oocytes or gonocytes that later develop into sperm.