spinal cord is essentially a segmental structure, so it consists of 31segments you've got 8 cervical, 12 thoracic, 5 lumbar, 5 sacral, and 1 coccygeal segment.