When the blood vessels of the corpora cavernosa relax and open up, blood rushes in through the cavernosus arteries to fill them. The blood then gets trapped under high pressure, creating an erection. The blood creates pressure in the corpora cavernosa, making the penis expand and creating an erection.