How Retrieval-Augmented Generation (RAG) Makes AI Smarter, Safer, and More Trustworthy