Emplay interview question

How does retrival works in the RAG.