The whole idea of Generative Adversarial Networks is that you're simultaneously training a network that can generate fake things, and another network that can distinguish fake from real. The two networks are each other's adversary, the generator trying to fool the discriminator, and the discriminator trying to catch the generator.
The article explains this very accessibly.