It maps observations where you have a clue about how they were created (priors) to a stochastic function. So quite literally, you end up with a probabilistic program.
There are many solutions for each prior. Priors can for example be expressed as computational graphs with random variables.