Why does NMR deal with protons? I ask this b/c I know the NMR deal with magnetic fields (MF) and it can change energy of proton’s magnetic energy. But my question is that electrons also have a spin and M F. Just like how IR and Mass deal with electrons, why don’t NMR also talk about electrons? Why just focus in the nucleus.
NMR deals with the nucleus of an atom (not just protons, but all nuclear isotopes with spin>0). Electrons also have a magnetic moment, and the technique used to probe this phenomenon is EPR/ESR. While NMR uses frequency in the MHz range (MHz), ESR uses higher energies in GHz range.

Lots of common references available on the internet to learn more, but you might be interested in:


https://physics.stackexchange.com/questions/171256/whats-the-difference-between-nmr-and-epr
https://en.wikipedia.org/wiki/Electron_paramagnetic_resonance
https://en.wikipedia.org/wiki/Nuclear_magnetic_resonance