For a discrete random variable, a mathematical formula that gives the probability for each value of the variable.
For a continuous random variable, it is described by a probability density function whose integral over a given interval gives the probability that the variable falls within that interval.