There are two ways to represent the probability distribution. One is by means of its mass (or density, in the continuous case) function. That's P(X=x) in the discrete case. The other, which is more easy to represent in the continuous case, is P(X<=x). The reason this is more easy in the continuous case is because P(X<=x) =
∫0xf(u)du where f is the probability density function. However, the idea of P(X=x) is useless for a continuous distribution, because it's usually 0. Hence the only useful way to calculate probabilities in a continuous distribution is to take the probability that X lies in some interval - and that's equivalent to finding P(X<=x).
That is,
∫0xf(u)du is the cumulative distribution function;
f(x) is the probability density function. Similarly in the discrete case,
∑i=1xf(i) is the cumulative distribution function, while
f(x) is the probability mass function.