Glovo interview question

What is the CAP theorem?