Original: The spinal cord functions primarily in the transmission of neural signals between the brain and the rest of the body but also contains neural circuits that can independently control numerous reflexes and central pattern generators .
Simplified: The human spinal cord is divided into 31 different segments , with motor nerve roots going out in the ventral aspects and sensory nerve roots entering in the dorsal aspects .