There are 31 pairs of spinal nerves that emerge from the spinal cord and transmit signals between the spinal cord and specific body regions. They are divided into cervical, thoracic, lumbar, sacral, and coccygeal nerves. The anterior rami of spinal nerves form plexuses that branch into major nerves like the brachial plexus and lumbar plexus, which provide motor and sensory innervation to the limbs and trunk. Intercostal nerves also directly innervate the chest wall.