Other nerves from the brain and spinal cord, known as parasympathetic nerves, cause the corpora cavernosa to fill with blood, resulting in an erection.