The peripheral nervous system consists of 12 pairs of cranial nerves emerging from the brain and 31 pairs of spinal nerves extending from the spinal cord. These nerves connect the central nervous system to limbs and organs, enabling sensory and motor functions. The brain and spinal cord constitute the central nervous system, while the parietal, occipital, frontal, and temporal lobes are brain regions.