The nerve cord is a hollow tube comprising the central nervous system: the brain and a spinal cord enclosed by vertebrae.