Gluons are the gauge boson of QCD — the massless, spin-1 mediators of the strong interaction. They arise inevitably once one demands local gauge invariance of the quarks Lagrangian under the color group \(SU(3)_c\): the gauge field \(A_\mu(x)\) is the connection that makes the covariant derivative transform covariantly.
The gluon field is Lie-algebra valued,
where \(T^a\) are the eight generators of \(SU(3)\) (there are \(N_c^2-1 = 3^2-1 = 8\) of them). Thus there are eight gluons, transforming in the adjoint representation \(\mathbf{8}\). Because they live in the adjoint, gluons themselves carry color charge — unlike the electrically neutral photon of QED.
The gluon field strength is defined through the commutator of covariant derivatives,
The extra term \(g f^{abc}A_\mu^b A_\nu^c\), absent in the abelian photon case, is the hallmark of a non-abelian theory. Inserting \(F_{\mu\nu}\) into the kinetic term
produces cubic (\(A^3\)) and quartic (\(A^4\)) gluon self-couplings. These self-interactions are responsible for asymptotic freedom and, ultimately, for color confinement.
Gauge invariance forbids a term \(\tfrac{1}{2}m^2 A_\mu^a A^{a\,\mu}\), so gluons are exactly massless at the Lagrangian level. Nevertheless, confinement means free gluons are never observed; the physical spectrum contains only color-singlet bound states, and gluon self-interaction can even form glueballs.