How AI Can Learn to Generate Pictures of Cats
The generator is a counterfeiter trying to produce seemingly real data. It has no idea of what the real data is, but it learns to adjust from the feedback of the other model. The discriminator is a inspector trying to determine what the fake counterfeit data is (by comparing it with real data), while trying to not raise false positives on the real data.
The output results of this model will serve for the backpropagation of the generator.
Source: freecodecamp.org