Bayesian filtering is a statistical technique used to classify and filter emails based on their content. It leverages Bayes' Theorem to calculate the probability that an email belongs to a particular category, such as spam or ham (non-spam). The system learns from a training set of emails that have been previously identified as spam or ham, and uses this knowledge to evaluate new emails.