The ovaries are glands with 2 main functions:  The production of specialized hormones, such as estrogen and progesterone. Ovulation, which is the release of eggs needed for reproduction.  
 Estrogen and progesterone prepare the inner lining of the uterus in case a pregnancy takes place. They also regulate when eggs are released.