The function of the PNS (Peripheral Nervous System) is to connect the CNS (Central Nervous System) to the limbs and organs, basically serving as a communication center going back and forth between the spinal cord, the brain, and the rest of the body.