What is RAG?
RAG stands for retrieval augmented generation. In plain language: look it up first, then answer. Before the AI writes an answer, it looks up the passages about the question in your own documents, such as the handbook, the product information or the returns policy. It bases its answer on those passages, and it tells you where it found them.
Why is that needed? A language model such as GPT or Claude knows a great deal about the world, and nothing at all about you. It doesn't know your delivery times, your warranty terms or the deal Piet made with that one supplier last year. Ask it anyway, and you get an answer that sounds right. Sometimes it is right. Sometimes it's made up. That's called a hallucination.
Think of RAG as an open-book exam. The student is smart, but isn't allowed to answer from memory. They have to look it up and note the page. That book is your knowledge. The better the book, the better the answer.
A language model knows a lot about the world and nothing about you. RAG first gives it the right page, and only then the question.