Nerves pass from the body to the brain through the spine within the spinal canal, which is a channel that runs through the spine.