At the end of the glans is an opening. Semen and urine exit the body through this opening after traveling through the urethra.