Estrogen and progesterone are needed to regulate the second function of the ovaries: ovulation, or the release of eggs needed for reproduction. These hormones also prepare the inner lining of the uterus for pregnancy.