The probability density function (PDF) is a mathematical function that describes the relative likelihood of a continuous random variable taking on a particular value. It provides a way to quantify the probability of a variable falling within a specified range of values.