Dear Student,
Vas Deferens is a long tube which joins another tube called urethra coming from bladder. Glands like seminal vesicles and prostrate gland add their secretion to sperms so that sperms become liquid.This combination of liquid and sperm is know as semen.The secretions inside the vas deferens is basically to convert sperms into liquid.
Regards