A matched filter is an optimal linear filter designed to maximize the signal-to-noise ratio (SNR) of a known signal in the presence of additive stochastic noise. It achieves this by correlating the received signal with a time-reversed and conjugated version of the known signal, effectively matching the filter's response to the signal's characteristics.