The end of the vas deferens joins the vesicoureteral ducts to form the ejaculatory ducts, while the ureter opens into the bladder triangle, which is not an opening. The vas deferens begins at the end of the epididymis, travels within the spermatic cord of the inguinal canal, enters the pelvis after the inguinal canal, crosses the anterior-inferior aspect of the end of the ureter to the back of the base of the bladder, where the vas deferens on both sides come closer together and expand to become the vas deferens jugulalis, which thins out at the end, crosses the prostate gland, and meets with the vesicourethral output ducts to form the ejaculatory ducts, which open into the prostatic segment of the urethra. The ureters begin in the renal pelvis, descend from the abdomen, and enter the pelvis after crossing the common iliac or external iliac arteries, with the ureters on each side opening at the right and left apexes behind the bladder. The vas deferens and ureters belong to the two systems of reproduction and urinary system, and there are close and intersecting parts in the course of traveling, but the openings of the two are not the same, and they play different roles in transporting semen and urine, respectively.