Spotify Interview Question

Can you explain what CAP theorem is?