the anti-alias filter
The anti-alias filter is the bouncer at the door of an analog-to-digital converter. Its one job is to stop any frequency that is too fast from ever reaching the sampler, because once a too-fast frequency gets sampled it folds down (aliases) and ruins the data forever. It is a low-pass filter — it lets the slow, wanted signals through and blocks the fast ones — placed in the analog path right before the converter takes its snapshots.
Its cutoff is set below the Nyquist frequency (half the sample rate). For example, a system sampling at 48 kHz has a Nyquist frequency of 24 kHz, so its anti-alias filter is designed to pass everything up to 20 kHz and strongly attenuate everything approaching 24 kHz, so that nothing above 24 kHz survives to be folded back into the audible band. Because no real filter is a brick wall — it rolls off over a finite band, not instantly — designers leave a guard band between the top of the wanted signal and the Nyquist frequency, and may use a steep (high-order) filter to get enough attenuation in that gap.
Why this matters: the anti-alias filter must be analog and must come BEFORE the converter — that is the whole point, since aliasing happens at the moment of sampling and cannot be undone digitally afterward. There is an honest tradeoff: a sharper filter that needs less guard band costs more parts, adds phase distortion, and is more sensitive to component tolerance. This is one big reason sigma-delta converters oversample heavily — running far above Nyquist pushes the folding point way up and lets a gentle, cheap analog filter do the front-end job, with a precise digital filter finishing it.
An audio ADC sampling at 44.1 kHz (Nyquist 22.05 kHz) uses a low-pass filter that passes up to 20 kHz and is steeply down by 22 kHz, so a stray 30 kHz hiss cannot fold to 14.1 kHz and land in the music.
A low-pass guard placed before the sampler — it cannot be moved after.
No filter is a perfect brick wall, so there is always a finite guard band and some residual aliasing far down. The design goal is to push aliases below the converter's noise floor, not to achieve impossible perfection.