Random variables are variables that take on different possible values randomly based on some underlying probability. There are two main types of random variables: discrete, which can take on only certain values; and continuous, which can take on any value within a given range. The mathematical function describing the probabilities of the different possible values a random variable can take is called a probability distribution. Probability distributions can be represented by probability density functions and cumulative density functions.