State the purpose of the gradient magnetic field coils in a magnetic resonance imaging (MRI) scanner.
Explain how the relaxation process of hydrogen nuclei (protons) is utilized to distinguish between different tissue types in an MRI scan.