What is Bayes theorem

Bayes theorem is based on conditional probability related to prior knowledge of the event.