Redis can be used for real-time analytics through its embedded capabilities and modules. It allows for inline analytics using data structures like HyperLogLogs, sorted sets, sets, and geospatial indexes. Modules like Redis ML, Redis-cell, Rebloom, and Countminsketch expand its analytic functionality. Examples of real-time analytics use cases discussed include fraud mitigation through checking user locations against geographic indices, detecting out of hours access, and using probabilistic data structures to implement counts and detect anomalies in resource traffic.