# What is Bayes' theorem?

What is Bayes' theorem? How does it relate to conditional probabilities?

$$P(A \mid B) = \frac{P(B \mid A) P(A)}{P(B)}$$