Holger von Jouanne-Diedrich explains the concept of ROC curves:
One widely used graphical plot to assess the quality of a machine learning classifier or the accuracy of a medical test is the Receiver Operating Characteristic curve, or ROC curve. If you want to gain an intuition and see how they can be easily created with base R read on!
I like this explanation a lot.