Researchers sometimes do functional MRI while subjects do different cognitive tasks (eg, solve a math equation); the metabolically active parts of the brain are presumed to be the structures most involved in that particular task.