The penis is the reproductive organ that can transfer semen (containing sperm) out of the body. The penis contains the urethra and erectile tissue. When a person is aroused the erectile tissue fills with blood and the penis becomes erect (hard).
The head of the penis has lots of nerve endings so it is very sensitive and pleasurable to touch. A person might rub their penis when they masturbate, or their partner might rub it during sex.