Lenovo interview question

Explain what is ROC and how it is applied in classification tasks?