The subthalamic nucleus (STN) is a small, lens-shaped structure located within the diencephalon of the brain. It is an integral part of the basal ganglia system, which is involved in regulating motor control, motor learning, executive functions, and behaviors. The STN plays a critical role in modulating and integrating signals for the execution of smooth, coordinated movements.