The substantia nigra is a critical structure located in the midbrain, part of the brainstem. It plays a pivotal role in movement regulation and is a significant part of the basal ganglia system. The substantia nigra is divided into two parts: the pars compacta and the pars reticulata.