what is the main function of the spinal cord?
Central nervous system. Like your brain, your spinal cord is part of your central nervous system. Its main function is to relay information about what's happening inside and outside your body to and from your brain. Peripheral nervous system. 31 pairs of spinal nerves connect your spinal cord to the rest of your body.