Supervised learning is the machine learning task of learning a function that maps an input to an output based on example input-output pairs. It infers a function from labeled training data consisting of a set of training examples.
In simple words,
Supervised learning is a process of learning data using various functions to create a model and then test the model using testing data to achieve necessary output accuracy. The below image explains the process of supervised learning.