The peripheral nervous system (PNS) is the part of the nervous system that is located outside the central nervous system (brain and spinal cord). It is responsible for transmitting information between the central nervous system and the rest of the body, including sensory information from the body to the brain and motor commands from the brain to the muscles.