The peripheral nervous system consists of 12 pairs of cranial nerves and 31 pairs of spinal nerves. Some of those nerve pairs are exclusively sensory cells, such as cells that detect information like smell and vision.