ViewRay interview question

How does MRI work?