Your professor is most likely using functional magnetic resonance imaging
functional magnetic resonance imaging is used to measure the changes in blood flow that could be used as a basis to measure your brain activity/
This technique has relied on the relationship between neural activation and cerebral blood flow.