Semen is formed when sperm from the testicles combines with fluids from the prostate and the seminal vesicles.