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. 