The cerebral cortex is the outer layer of gray matter covering the hemispheres. It is typically 2-3mm thick and covers the gyri and sulci. The neocortex makes up most of the cerebral cortex and has six layers containing 10-14 billion neurons. The allocortex is a more primitive area located in the medial temporal lobes involved in olfaction and emotional reactions. Key areas of the cerebral cortex include the prefrontal, somatosensory, visual, auditory, and motor cortices which are involved in executive functions, sensory processing, vision, hearing, language, and motor control respectively.