In an MRI machine, which one of the following is used?

In an MRI machine, which one of the following is used?

A. Sound wave
B. ‘X’-ray
C. Ultra-sound wave
D. Magnetic wave