A thin membrane that lines the fluid-filled spaces in the brain and spinal cord. It is made up of a type of glial cell called an ependymal cell.