By function, the peripheral nervous system is divided into the somatic nervous system, autonomic nervous system and the enteric nervous system.
The somatic nervous system is responsible for coordinating the body movements, and also for receiving external stimuli. It is the system that regulates activities that are under conscious control.
The autonomic nervous system is then split into the sympathetic division, parasympathetic division, and enteric division. The sympathetic nervous system responds to impending danger or stress, and is responsible for the increase of one's heartbeat and blood pressure, among other physiological changes, along with the sense of excitement one feels due to the increase of adrenaline in the system. The parasympathetic nervous system, on the other hand, is evident when a person is resting and feels relaxed, and is responsible for such things as the constriction of the pupil, the slowing of the heart, the dilation of the blood vessels, and the stimulation of the digestive and genitourinary systems. The role of the enteric nervous system is to manage every aspect of digestion, from the esophagus to the stomach, small intestine and colon.

Ten out of the twelve cranial nerves originate from the brainstem, and mainly control the functions of the anatomic structures of the head with some exceptions. The nuclei of cranial nerves I and II lie in the forebrain and thalamus, respectively, and are thus not considered to be true cranial nerves. CN X (10) receives visceral sensory information from the thorax and abdomen, and CN XI (11) is responsible for innervating the sternocleidomastoid and trapezius muscles, neither of which is exclusively in the head.

Spinal nerves take their origins from the spinal cord. They control the functions of the rest of the body. In humans, there are 31 pairs of spinal nerves: 8 cervical, 12 thoracic, 5 lumbar, 5 sacral and 1 coccygeal. In the cervical region, the spinal nerve roots come out above the corresponding vertebrae (i.e. nerve root between the skull and 1st cervical vertebrae is called spinal nerve C1). From the thoracic region to the coccygeal region, the spinal nerve roots come out below the corresponding vertebrae. It is important to note that this method creates a problem when naming the spinal nerve root between C7 and T1 (so it is called spinal nerve root C8). In the lumbar and sacral region, the spinal nerve roots travel within the dural sac and they travel below the level of L2 as the cauda equina.

The last four cervical spinal nerves, C5 through C8, and the first thoracic spinal nerve, T1,combine to form the brachial plexus, or plexus brachialis, a tangled array of nerves, splitting, combining and recombining, to form the nerves that subserve the arm and upper back. Although the brachial plexus may appear tangled, it is highly organized and predictable, with little variation between people. See brachial plexus injuries

The first nerve off the brachial plexus, or plexus brachialis, is the dorsal scapular nerve, arising from C5 nerve root, and innervating the rhomboids and the levator scapulae muscles.
The long thoracic nerve arises from C5, C6 and C7 to innervate the serratus anterior.
The brachial plexus first forms three trunks, the superior trunk, composed of the C5 and C6 nerve roots, the middle trunk, made of the C7 nerve root, and the inferior trunk, made of the C8 and T1 nerve roots. The suprascapular nerve is an early branch of the superior trunk. It innervates the suprascapular and infrascapular muscles, part of the rotator cuff.
The trunks reshuffle as they traverse towards the arm into cords. There are three of them. The lateral cord is made up of fibers from the superior and middle trunk. The posterior cord is made up of fibers from all three trunks. The medial cord is composed of fibers solely from the medial trunk.