Question: how does qq plot work?
Answer: The quantile-quantile (q-q) plot is a graphical technique for determining if two data sets come from populations with a common distribution. A q-q plot is a plot of the quantiles of the first data set against the quantiles of the second data set. ... A 45-degree reference line is also plotted.