An fMRI scan measures and maps brain activity by detecting changes in blood flow and oxygen levels. It uses the same MRI technology but produces images showing real-time functional changes rather than just anatomical structures. An fMRI scan is able to show which specific parts of the brain are active during different cognitive tasks by tracking blood flow and oxygen consumption in the brain over time.