Question about Likelihood and Residuals

Thanks @junpenglao. The video is helpful.

Do you know what residuals means in this context? With a linear model I get that residuals measures the difference between the actual and the estimate, but with bayesian models what is the definition of a residual?