The cortex is the outer layer of an organ or structure in animals or plants. In the brain, the cerebral cortex and the cerebellar cortex both consist of grey matter tissue.