Understanding RAG: The Future of AI Explained