Gradient coils are used in MRI to spatially encode the MRI signal by creating linear magnetic field gradients in the x, y, and z directions. They are made of conducting loops or strips arranged in patterns like fingerprints that produce calibrated distortions of the main magnetic field. Modern scanners typically use distributed windings in copper sheets etched into complex patterns. Gradient coils are driven by powerful gradient amplifiers and require cooling to handle the heat from switching high currents rapidly. Proper gradient design and performance is crucial for achieving good spatial resolution and image quality in MRI.