though this cannot be seen directly, different parts of the cortex have different functions (see diagram). it plays a key role in memory, attention, perceptual awareness, thought, language, and consciousness.