Memory is not a source
Asked "What is the refund window?", a model answers from whatever it absorbed in training. It may be close. It may be another company's policy. Retrieval gives it your text to read instead.
Search and score
The question is embedded and compared against every stored chunk. Each chunk gets a relevance score. "Refunds within 30 days" scores 0.92. "Opening hours" scores 0.08.
Keep only the best
Only the top few chunks go into the prompt. The rest never reach the model. This is a hard trade: too few and the answer is missing, too many and the relevant line is buried in noise.
Answer with receipts
The model writes its answer from the chunks and can cite them: "30 days, with a receipt. [1][2]". A reader can click through and check. That is the real value of RAG, not just better answers but answers you can verify.