HSQC works by detecting the interactions between nuclei through scalar (J) couplings. The experiment records the resonance frequencies of both the ¹H and the heteronucleus (e.g., ¹³C) simultaneously. This results in a two-dimensional spectrum where one axis represents the proton frequencies and the other represents the heteronuclear frequencies. The cross-peaks indicate direct correlations between the coupled nuclei, providing valuable structural information.