Eleks Software Interview Question

Describe what is the CAP theorem in databases.