MCMC is a general class of algorithms which use a Markov chain to sample from a desired probability distribution.