An elastic skin sack suspended beneath the penis, the scrotum contains the testicles. Its function is to maintain the testicles at their optimal temperature (necessary for spermatogenesis), which is a few degrees lower than if they were inside the body.