Intercostal nerves
Nervous system ยท part of Thoracic nerves
The intercostal nerves are part of the somatic nervous system, and arise from the anterior rami of the thoracic spinal nerves from T1 to T11. The intercostal nerves are distributed chiefly to the thoracic pleura and abdominal peritoneum, and differ from the anterior rami of the other spinal nerves in that each pursues an independent course without plexus formation. The first two nerves supply fibers to the upper limb and thorax; the next four distribute to the walls of the thorax; the lower five supply the walls of the thorax and abdomen. The 7th intercostal nerve ends at the xiphoid process of the sternum. The 10th intercostal nerve terminates at the navel. The 12th (subcostal) thoracic is (Wikipedia)