Which endocrine glands primarily control reproduction and fertility? Check two options.

the ovaries
the testes
the pancreas
the pineal gland
the thyroid gland