The spinal cord begins at the foramen magnum and extends down to the L1-L2 vertebrae. It has 31 segments and is enlarged in the cervical and lumbar regions. It is protected by vertebrae, meninges, and cerebrospinal fluid. The spinal cord contains gray matter with dorsal and ventral horns and white matter tracts. It transmits motor and sensory signals between the brain and body.