A probability generating function (PGF) packs a whole discrete distribution into one function. For a random variable X that takes whole number values 0, 1, 2, ..., the PGF is G(t) = E(tX). Written out, it is a power series in which the coefficient of tr is P(X = r).
The variable t has no meaning of its own. It is a marker that keeps the probabilities in order. Putting t = 1 adds all the probabilities, so G(1) = 1.
The PGF is useful for two reasons. Differentiating it and putting t = 1 gives the mean and variance quickly. And for independent variables, the PGF of a sum is the product of the separate PGFs.