Sperm is produced in the testes and passes into the vas deferens, where it combines with seminal fluid in normal ejaculation.  After that, the semen passes the urethra and exits through the penis.  This procedure gets hindered by semen retention.   The unused sperm decomposes and gets reabsorbed into the body.