The quantile function is a function associated with a Random variable that maps a Probability to the value that the variable should take at that probability according to the Probability density function. It is also called the inverse cumulative distribution function since it is just that, the inverse of the CDF.
Mathematically, the quantile function of a random variable of CDF is defined as