The urethra is a tube with a small opening at the tip of the penis. It has two functions. It can carry urine (wee) from the bladder, or semen (containing sperm) from the prostate. There is a valve that can block off one or the other, so the body can’t urinate (wee) and ejaculate (release semen) at the same time.