The neural tissue of the central nervous system, especially on the outer brain layers and in the inner spinal cord. It has a brownish-gray color and consists of neuronal cell bodies and nerve fibers. The primary function of the matter is to process information in the brain.