NMR spectroscopy works by applying a strong magnetic field to a sample, causing the nuclei of atoms to align with the field. When radiofrequency pulses are applied, the nuclei are perturbed and emit signals as they relax back to their original state. These signals are detected and analyzed to provide information about the molecular structure. High field NMR enhances this process by using stronger magnetic fields, resulting in better resolution and more detailed spectra.