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. This explains why damage to the internal wall of the thoracic cavity can be felt as a sharp pain localized in the injured region. Damage to the visceral pleura is experienced as an un-localized ache.