A hallucination is an incorrect, approximate or invented answer that a language model delivers with confidence. It stems from the probabilistic workings of LLMs: the model aims above all to produce linguistically coherent text, even without reliable information on the subject.