The menstrual cycle is regulated by a complex interaction between the hypothalamus, pituitary gland, and the ovaries. The hypothalamus releases GnRH, which prompts the pituitary gland to secrete FSH and LH. These hormones act on the ovaries to regulate the growth of follicles, ovulation, and the formation of the corpus luteum.