The innermost of the three membranes (meninges) that surround the brain and spinal cord of vertebrates. The pia mater lies immediately adjacent to the central nervous system, and the choroid plexus, which secretes cerebrospinal fluid, is an extension of it.