BNY interview question

When would you use logistic regression? Whats the difference between supervised and unsupervised learning?