Solid state NMR involves placing a sample in a strong magnetic field and applying radiofrequency pulses. The nuclei in the sample absorb and re-emit these radiofrequency pulses, generating signals that are detected and translated into spectra. These spectra provide detailed information about the chemical environment of the nuclei, including their electronic surroundings and spatial arrangements.