While peripheral nerves provide sensory input, the brain transforms these into the conscious perception of sensation. Neuroimaging scientists explore the bridge between brain activity and pain perception using methods such as functional MRI, electroencephalography, and near infrared spectroscopy.