Functional magnetic resonance imaging or FMRI is a type of magnetic resonance imaging that measures hemodynamic response associated with neural activity in the brain or spinal cord. This enables the determination of which parts of the brain are used or activated when a particular function or activity is being performed.