The procedure is commonly done in two steps: First the surgeon must locate the vas deferens--the narrow tube that conveys sperm from the epidymis to the ejaculatory duct--and isolate it from the scrotum. Then, it must be obstructed (or occluded) so that the sperm can't flow to the testicles.