MRI uses a large magnet instead of x-rays to take pictures of the inside of your body. People who have metal in their bodies (pacemakers, neurostimulators, certain clips, or staples from earlier surgery) may not receive an MRI. The magnetic field used in MRI scanning may harm such people or cause problems with devices such as pacemakers.