In NMR spectroscopy the electrons revolves around the nucleus and spins itself each other’s where the protons inside the nucleus and electrons produce some induced magnetic field as well as electrons also produced some induced magnetic field

But here the atom in presence of external magnetic field why the protons only aligns its poles but why not the electrons and if the electrons also aligns its poles then why does it not gives NMR peaks