Spotify interview question

Can you explain what CAP theorem is?