The urethra is the tube through which urine and semen exit the body. It does not play a role in forming or maintaining an erection.