The striatum is involved in a variety of functions, including the regulation of voluntary motor control, procedural learning, and habit formation. It receives glutamatergic inputs from the cortex and thalamus and dopaminergic inputs from the substantia nigra pars compacta.