Supervised Learning occurs when an algorithm learns something from the training data and then applies that knowledge to the test data. Supervised Learning is an example of classification.
While Unsupervised learning occurs when the algorithm does not learn anything prior since there is no response variable or training data. Unsupervised learning is exemplified through clustering.