Estrogen and progesterone prepare the inner lining of the uterus in case a pregnancy takes place. These hormones also regulate when eggs are released.