Key insights into how sperm and egg cells are formed have been discovered by scientists, shedding light on the earliest stages of their development.