The spinal cord is a thin bundle of nerves that is an extension of the central nervous system from the brain and is enclosed in and protected by the bony vertebral column . The main function of the spinal cord is transmission of neural inputs between the periphery and the brain . The brain and spinal cord together make up the central nervous system .