The peripheral nervous system is the part of the nervous system that is outside of the brain and spinal cord. It connects the central nervous system to sensory receptors, muscles, and organs throughout the body. It consists of nerves that branch out from the spinal cord and cranial nerves that emerge directly from the brain.