The term basal ganglia (or basal nuclei) is applied to five interactive structures on each side of the brain (Figure 1). These are the caudate nucleus, putamen, and globus pallidus (three large nuclear masses underlying the cortical mantle), the subthalamic nucleus, and substantia nigra. The caudate nucleus and putamen collectively form the striatum; the putamen and globus pallidus collectively form the lenticular nucleus.

Fig1. The basal ganglia. The basal ganglia are composed of the caudate nucleus, putamen, and globus pallidus and the functionally related subthalamic nucleus and substantia nigra. The frontal (coronal) section shows the location of the basal ganglia in relation to surrounding structures.
The globus pallidus is divided into external and internal segments (GPe and GPi); both regions contain inhibitory GABAergic neurons. The substantia nigra is divided into a pars compacta, which uses dopamine as a neurotransmitter, and a pars reticulata, which uses GABA as a neurotransmitter. There are at least four neuronal types within the striatum. About 95% of striatal neurons are medium spiny neurons that use GABA as a neurotransmitter. The remaining striatal neurons are all aspiny interneurons that differ in terms of size and neurotransmitters: large (acetylcholine), medium (somatostatin), and small (GABA).
Figure 2 shows the major connections to and from and within the basal ganglia along with the neurotransmitters within these pathways. There are two main inputs to the basal ganglia; they are both excitatory (glutamate), and they both terminate in the striatum. They are from a wide region of the cerebral cortex (corticostriate pathway) and from intralaminar nuclei of the thalamus (thalamostriatal pathway). The two major outputs of the basal ganglia are from GPi and substantia nigra pars reticulata. Both are inhibitory (GABAergic) and both project to the thalamus. From the thalamus, there is an excitatory (presumably glutamate) projection to the pre frontal and premotor cortex. This completes a full cortical basal ganglia-thalamic-cortical loop.

Fig2. Diagrammatic representation of the principal connections of the basal ganglia. Solid lines indicate excitatory pathways, dashed lines inhibitory pathways. The transmitters are indicated in the pathways, where they are known. DA, dopamine; Glu, glutamate. Acetylcholine is the transmitter produced by interneurons in the striatum. ES, external segment; IS, internal segment; PPN, pedunculopontine nuclei; SNPC, substantia nigra, pars compacta; SNPR, substantia nigra, pars reticulata. The subthalamic nucleus also projects to the pars compacta of the substantia nigra; this pathway has been omitted for clarity.
The connections within the basal ganglia include a dopaminergic nigrostriatal projection from the substantia nigra pars compacta to the striatum and a GABAergic projection from the striatum to substantia nigra pars reticulata. There is an inhibitory projection from the striatum to both GPe and GPi. The subthalamic nucleus receives an inhibitory input from GPe, and in turn the subthalamic nucleus has an excitatory (glutamate) projection to both GPe and GPi.