The cerebral cortex is the outermost layer of the brain, responsible for many complex brain functions, including sensation, perception, memory, association, thought, and voluntary physical action. It is made up of gray matter consisting of neuronal cell bodies, dendrites, and synapses.