When the body is cold, the scrotum shrinks to hold body heat. When the body is warm, the scrotum becomes larger to get rid of extra heat. These changes are controlled by the brain and nervous system.