An inference engine is like a detective - it takes facts and uses them to figure out the answer to a question. To do this, the inference engine uses a set of rules that tell it what kinds of facts it needs and how to use them to find the answer. Inference engines can be used to solve tasks like medical diagnosis and playing chess.