The peripheral nervous system (PNS) is the part of the nervous system that consists of all the nerves outside the central nervous system (CNS), which includes the brain and spinal cord. The PNS connects the CNS to the limbs and organs, facilitating communication between the body and the brain, and is divided into the somatic and autonomic nervous systems, playing a vital role in regulating bodily functions and movements.