Magnetoencephalography (MEG) is a non-invasive neuroimaging technique that measures the magnetic fields generated by neuronal activity in the brain, providing high temporal resolution and allowing for the study of dynamic brain processes. It is particularly useful in localizing brain functions and identifying abnormal brain activity, such as in epilepsy research and pre-surgical planning.