Functions of testis:
(i) Produce sperms.
(ii) Produces male hormone/testosterone.
These are located outside the human body, as sperms need lower temperature than the normal body temperature to mature.
Testosterone is responsible for bringing changes at the time of puberty in boys.