RAG is a technique that lets AI look up documents before answering, instead of relying solely on its memory. When you ask a question, the system first searches for relevant information in a database, then gives it to the AI to formulate its answer. It's like giving someone a reference book before asking them a question — the answer will be more reliable.