The SM gauge group is based on the following symmetry: SU(3)C×SU(2)L×U(1)Yspontaneously brokenSU(3)C×U(1)EM Here, U(1)EM couples to the electromagnetic charge QEM=TL3+Y where TL3 is the weak component of isospin (third generator of SU(2)L) We have 3 generations of fermions: identical gauge quantum number but different masses.