Matter (CA) Interview Question

Explain what is CAP theorem?