The basic principle behind the MRI is that protons have zero magnetic moment in their original state. When a magnetic field is applied, it causes the proton to align with the field resulting a magnetic moment. When the proton returns to the original state, a RF signal is generated.