AI is used in retail for inventory management, demand forecasting, personalized marketing, recommendation systems, virtual shopping assistants, and fraud detection, among other applications.