Within a few weeks of fertilization, the embryo develops rudimentary gonads (testes), which produce hormones responsible for the development of the reproductive system. If the testes fail to develop within eight weeks, the baby will develop female genitalia (see Swyer syndrome). If the testes begin to develop but are lost or cease to function between eight and 10 weeks, the baby will have ambiguous genitalia when it is born.