A hallucination is a statement generated by an AI model that is factually wrong or entirely made up, yet is phrased with the same confidence as a correct answer.
Hallucinations occur because a language model doesn't query a database of verified facts – it statistically predicts the next plausible word. When it lacks genuine knowledge on a topic, the model fills the gap with a plausible-sounding but incorrect answer.
Hallucinations are especially common with very specific facts, such as invented quotes, incorrect legal citations, non-existent academic sources, or wrong figures.
Countermeasures include Retrieval-Augmented Generation (RAG), which lets the model draw on verified external sources, as well as consistently and critically fact-checking AI-generated claims before relying on them.



