the discriminator is to actually make it recognize different classes and this allows us to participate in an important research area of semi-supervised learning with generative adversarial networks originally generative adversarial networks used just a binary output value that said whether things are real or fake but if we add extra outputs saying which class they belong to and then having one fake class we are able to then take the and use it to classify data after we finished training the whole process and