There are two chambers that hare the length of your penis called the corpora cavernosa. Each contains a convolutions of blood vessels that create sponge-like spaces. When those blood vessels tone down and bare, blood rushes result of and fills them, causing the penis to engorge, creating an erection.
Source: viagra cialis levitra