The basal ganglia are a group of subcortical nuclei that receive input from the cortex and project to the cortex via the thalamus. They consist of the striatum, globus pallidus, substantia nigra, and subthalamic nucleus. The basal ganglia influence motor control and posture through direct and indirect pathways and receive modulatory input from the substantia nigra. Diseases of the basal ganglia result in movement disorders like Parkinson's disease and Huntington's disease.