There are 31 pairs of nerves originating from the spinal cord called spinal nerves; there are 8 cervical, 12 thoracic, 5 lumbar, 5 sacral and 1 coccygeal.
These are grouped into 8 pairs of cervical nerves, 12 pairs of thoracic nerves, 5 pairs of lumbar nerves, 5 pairs of sacral nerves and 1 pair of coccygeal nerves.
Spinal nerves take their origins from the spinal cord. They control the functions of the rest of the body. In humans, 31 pairs of spinal nerves include 8 cervical, 12 thoracic, 5 lumbar, 5 sacral and 1 coccygeal.