 The substantia nigra is the source of the striatal input of the neurotransmitter dopamine, which plays an important role in basal ganglia function.The subthalamic nucleus receives input mainly from the striatum and cerebral cortex and projects to the globus pallidus.Popular theories implicate the basal ganglia primarily in action selection – in helping to decide which of several possible behaviors to execute at any given time.