The Hammett equation is a linear free-energy relationship that correlates reaction rates or equilibrium constants of chemical reactions with the substituents' electronic properties in aromatic compounds. It uses a parameter, sigma, to quantify the substituent effect and a reaction constant, rho, to describe the sensitivity of the reaction to these effects, providing insights into reaction mechanisms and electronic influences.