Spotify interview question

What is CAP Theorem in distributed computing?