When a random variable is distributed according to some parameterized distribution, where the parameter itself is a random variable. Also known as a "mixture" distribution, but the term "mixture" also has other senses in statistics.

See the Wikipedia page.

One important example of a compound distribution is the negative binomial, which arises as a Poisson-gamma mixture, i.e., as a Poisson distribution with a parameter that is itself gamma distributed.