Conduent interview question

Difference Between NoSQL, SQL. When to use which?