text: The CNS is contained within the dorsal cavity , with the brain in the cranial cavity and the spinal cord in the spinal cavity .
simplified: The CNS is protected by bone in the dorsal cavity : the brain in the cranial subcavity , and the spinal cord in the spinal cavity .