Particles rotation can be mathematically expressed by operator, hence introducing rotation operator, let’s assume a minute variation on the identity operator

then we derive the M has to satisfy

The M Hermitian operator has to have determinant 1 and trace 0 to be special.
So we find these Pauli matrices or spin operator (measuring spin direction on x, y and z) are above M:

They are SU(2) which makes to do weak force flipping u and d, analogously, the strong nuclear force is mediated by SU(3)


Adding photons mediating the electromagnetic force, or coolon force, we have the standard model:

Kudos to DrPhysicsA