The functional part of the cerebral cortex is a thin layer of neurons covering the surface of all the convolutions of the cerebrum. This layer is only 2 to 5 millimeters thick, with a total area of about one quarter of a square meter. The total cerebral cortex contains about 100 billion neurons.
Figure 1 shows the typical histological structure of the neuronal surface of the cerebral cortex, with its successive layers of different types of neurons. Most of the neurons are of three types: (1) granular (also called stellate), (2) fusiform, and (3) pyramidal, the last named for their characteristic pyramidal shape.

Fig1. Structure of the cerebral cortex, showing the following layers: I, molecular layer; II, external granular layer; III, layer of pyramidal cells; IV, internal granular layer; V, large pyramidal cell layer; and VI, layer of fusiform or polymorphic cells. (Modified from Ranson SW, Clark SL: Anatomy of the Nervous System. Philadelphia: WB Saunders, 1959.)
The granular neurons generally have short axons and, therefore, function mainly as interneurons that transmit neural signals only short distances within the cortex. Some are excitatory, releasing mainly the excitatory neurotransmitter glutamate, whereas others are inhibitory and release mainly the inhibitory neurotransmitter gamma-aminobutyric acid (GABA). The sensory areas of the cortex, as well as the association areas between sensory and motor areas, have large concentrations of these granule cells, suggesting a high degree of intracortical processing of incoming sensory signals within the sensory areas and association areas.
The pyramidal and fusiform cells give rise to almost all the output fibers from the cortex. The pyramidal cells, which are larger and more numerous than the fusiform cells, are the source of the long, large nerve fibers that go all the way to the spinal cord. The pyramidal cells also give rise to most of the large subcortical association fiber bundles that pass from one major part of the brain to another.
To the right in Figure 1 is shown the typical organization of nerve fibers within the different layers of the cerebral cortex. Note particularly the large number of horizontal fibers that extend between adjacent areas of the cortex, but note also the vertical fibers that extend to and from the cortex to lower areas of the brain and some all the way to the spinal cord or to distant regions of the cerebral cortex through long association bundles.
The functions of the specific layers of the cerebral cortex are discussed in Chapters 48 and 52. By way of review, let us recall that most incoming specific sensory signals from the body terminate in cortical layer IV. Most of the output signals leave the cortex through neurons located in layers V and VI; the very large fibers to the brain stem and cord arise generally in layer V; and the tremendous numbers of fibers to the thalamus arise in layer VI. Layers I, II, and III perform most of the intracortical association functions, with especially large numbers of neurons in layers II and III making short horizontal connections with adjacent cortical areas.
ANATOMICAL AND FUNCTIONAL RELATIONS OF THE CEREBRAL CORTEX TO THE THALAMUS AND OTHER LOWER CENTERS
All areas of the cerebral cortex have extensive to-and-fro efferent and afferent connections with deeper structures of the brain. It is important to emphasize the relation between the cerebral cortex and the thalamus. When the thalamus is damaged along with the cortex, the loss of cerebral function is far greater than when the cortex alone is damaged because thalamic excitation of the cortex is necessary for almost all cortical activity.
Figure 2 shows the areas of the cerebral cortex that connect with specific parts of the thalamus. These connections act in two directions, both from the thalamus to the cortex and then from the cortex back to essentially the same area of the thalamus. Furthermore, when the thalamic connections are cut, the functions of the corresponding cortical area become almost entirely lost. Therefore, the cortex operates in close association with the thalamus and can almost be considered both anatomically and functionally a unit with the thalamus; for this reason, the thalamus and the cortex together are sometimes called the thalamocortical system. Almost all pathways from the sensory receptors and sensory organs to the cortex pass through the thalamus, with the principal exception of some sensory pathways of olfaction.

Fig2. Areas of the cerebral cortex that connect with specific portions of the thalamus.