Total harmonic distortion (THD) is a measure of the distortion in a signal caused by harmonics, expressed as a percentage of the fundamental frequency. It is crucial in assessing the quality and efficiency of electrical systems, audio equipment, and communication systems, as lower THD values indicate cleaner and more accurate signal reproduction.