fMRI measures and maps brain activity by detecting changes in blood flow. It plays a crucial role in understanding neural responses to stimuli, cognitive functions, and planning surgeries in neurological disorders.