The other main function of the ovaries is to produce specialized hormones, such as estrogen and progesterone. These hormones help to regulate ovulation. They also prepare the inner lining of the uterus to proceed with a pregnancy.