Illustration of penis before and during testicular torsion

During testicular torsion a testicle rotates, twisting the spermatic cord that brings blood to the scrotum, the loose bag of skin under the penis that contains the testicles. The reduced blood flow causes sudden and often severe pain and swelling.