Answer.  Some of the vas deferens/ductus deferens function is to help in the transport of sperm from the epididymis to the ejaculatory ducts. During the process of ejaculation, the sympathetic nervous system innervates the muscular layer of the vas deferens, which produces the peristalsis contraction in order to push out the spermatozoa.