SAP interview question

What is CAP theorem