What is the function of the ovaries?

Question: What is the function of the ovaries?

Choices:

Segregating the prolactin hormone
Implantation of the zygote
Fertilisation of the egg
Generating eggs

Correct answer:

Generating eggs