ABB Interview Question

When do you use a relational database and when do you use a non relational database