CAP theorem explains that NoSQL databases cannot provide consistency and high availability concurrently. Computer scientist Eric Brewer discovered this theory.