Step 1: Understanding the Concept:
The testes (singular: testis) are the male gonads in animals. The question asks for their primary biological functions.
Step 2: Detailed Explanation:
The testes have two main functions:
Spermatogenesis: The production of male gametes, which are the sperms.
Endocrine function: The synthesis and secretion of male sex hormones, primarily testosterone, which is responsible for the development of male secondary sexual characteristics.
Option (C), secreting progesterone, is incorrect as progesterone is a primary female sex hormone. Since both (A) and (B) are correct functions of the testes, option (D) is the best answer.
Step 3: Final Answer:
The functions of the testes are to secrete testosterone and to produce sperms.