The peripheral nerves connect the spinal cord to different parts of the body. Peripheral nerves that go to the arms are connected to the spine in the neck area. Peripheral nerves that go to the chest and abdomen are connected to the spine in the thoracic area. Peripheral nerves that go to the legs and sexual organs are connected to the spine in the lumbar and sacral areas.