Vasectomy is a procedure in which the vas deferens, the ducts that connect the testes to the urethra in the penis, are cut. This prevents sperm from entering your semen (ejaculate or “cum”) without affecting your sexual function or hormones.