Subcortical nuclei are groups of neuronal cell bodies located beneath the cerebral cortex in the brain, involved in various functions such as regulating movement, learning, and emotion. They play a crucial role in the processing and relay of neural signals within the central nervous system.