A male can have intercourse without releasing sperm through a common surgical operation that serves which body part?

This surgical operation is called a vasectomy, which involves cutting or blocking the vas deferens, the tubes that carry sperm from the testicles to the urethra. By blocking these tubes, sperm are not able to be released during ejaculation, but sexual pleasure and function are not affected.