The corpora cavernosa fill up with blood as the muscles around the corpora cavernosa relax. When the corpora cavernosa trap the blood, they expand and the penis becomes firm and longer. This is called an erection.