The organ that produces sperms as well as secretes male hormone is testis. The hormone secreted by it is testosterone.
Functions of testosterone are :
(a) It stimulates sperm production.
(b) It stimulates the development of secondary sexual characters in males.
(c) It is involved in the development, maturation, and functioning of accessory sex organs like vas deferens and seminal vesicles.