An erection is the stiffening and rising of the penis, which occurs during sexual arousal, though it can also happen in non-sexual situations.