Cortex:

when used generally, the term cortex (which is Latin for "bark") refers to the outermost layer of a structure. When referring to the brain, cortex most often refers to the cerebral cortex, although the cerebellum also has an outer layer called the cerebellar cortex.