The PNS connects the CNS to the rest of the body. It consists of sensory neurons that carry information from sensory receptors to the CNS, and motor neurons that transmit signals from the CNS to muscles and glands, enabling voluntary and involuntary actions.