The mediant chord is the triad built on the third scale degree of a key, commonly represented as 'iii' in major scales and 'III' in minor scales. It serves as an important harmonic function, often acting as a bridge between the tonic and dominant chords, and plays a significant role in modulating to different keys and adding emotional depth to progressions.