Detailed Explanation
In the context of AI, a hallucination occurs when a Generative AI model produces an output that sounds plausible but is factually incorrect, nonsensical, or disconnected from the provided context. Hallucinations happen because LLMs are fundamentally probabilistic engines—they predict the most likely next word rather than verifying facts against a source of absolute truth. Techniques like RAG are used to minimize this.