Infosys Interview Question

What is CAP theorem (from DBMS)?