PwC interview question

Explain the process of RFM analysis? How would you provide personalized ads?