Hey :)
An MRI can tell us about the function of the brain
MRI can detect a variety of conditions of the brain such as cysts, tumors, bleeding, swelling, developmental and structural abnormalities, infections, inflammatory conditions, or problems with the blood vessels. It can determine if a shunt is working and detect damage to the brain caused by an injury or a stroke
Hope this helps :)