In human males, pair of testis is located in a structure called the scrotum. Scrotum is located outside the abdominal cavity. The main function of the testis is to produce and develop sperms and thus located outside the body because they need a lower temperature to develop sperms as compared to the inner body temperature.