MRI (magnetic resonance imaging) is ordered by the doctor to detect a variety of conditions of the brain such like cysts, tumors, swelling, bleeding, developmental and structural abnormalities, infections, inflammatory conditions, or some blood vessels problems.
MRI also can determine if the damage to the brain caused by an injury or a stroke.