Mainly The testes have two functions – to produce sperm and to produce hormones, particularly testosterone.
1. sperm production
2.produce male hormones called androgens. Androgens control how the male reproductive system grows, and the development of "masculine" body features such as beards and a deep voice. They also influence sexual functions.
3.production of Testosterone .Testosterone is the most common form of androgen. It is responsible for the growth of male genitals and sperm production.
4.it also produce some lubricant body fluids that help in sexual contact