The spinal cord (and brain) are protected by three layers of tissue or membranes called meninges, that surround the canal .