Question: what is the function of the cremaster and dartos?
Answer: When the temperature is too low, the tunica dartos muscle contracts, causing the scrotal skin to wrinkle, and thus the scrotum has a smaller surface area for heat loss. Cold-induced contraction of the cremaster muscle also raises the testes to bring them closer to the warmer groin region.