Like the vertebral column, the spinal cord is divided into segments: cervical, thoracic, lumbar, sacral, and coccygeal. Each segment of the spinal cord provides several pairs of spinal nerves, which exit from vertebral canal through the intervertebral foramina. There are 8 pairs of cervical, 12 thoracic, 5 lumbar, 5 sacral, and 1 coccygeal pair of spinal nerves (a total of 31 pairs)