Polynomial interpolation is the interpolation of a given data set by the polynomial of lowest possible degree that passes through the points of the dataset.
Lets assume we have a set X = {1, 2, 3} and set Y = {10, 2, 7} which every value belongs to the value from set X at the same index.
If we want to interpolate the data and find a function that pass to these data the result could be like this.