The cerebral cortex is the outer layer of your brain's surface, located on top of the cerebrum. The cerebral cortex carries out essential functions of your brain, like memory, thinking, learning, reasoning, problem-solving, emotions, consciousness, and sensory functions.