LUMS interview question

Difference between the generative model and the discriminative model