 The twelfth (subcostal) thoracic is distributed to the abdominal wall and groin.Unlike the nerves from the autonomic nervous system that innervate the visceral pleura of the thoracic cavity, the intercostal nerves arise from the somatic nervous system.This enables them to control the contraction of muscles, as well as provide specific sensory information regarding the skin and parietal pleura.