A discriminator is a system or model component that distinguishes real examples from generated or fake examples. In a generative adversarial network, it evaluates outputs from the generator and provides a training signal that helps improve generated samples.