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