the ovaries produce inhibin and activin which feedback to the anterior pituitary, and
oestrogens and
progestogens which feedback to both the anterior pituitary and the hypothalamus (negative feedback in luteal phase, and positive feedback in follicular phase).