A random variable assigns a numerical value to each outcome of a random experiment. It can be discrete or continuous depending on the values it can take. A discrete random variable takes on countable values like the number of heads in a coin toss, while a continuous variable can take any value in an interval like height. The probability mass function (pmf) of a discrete random variable gives the probability of each possible value and must be non-negative and sum to 1. Examples show how to construct pmfs for different experiments and verify they satisfy the conditions.