Question d’entretien chez Google

Explain the CAP theorem and its consequences?