AI is used in predictive analytics through machine learning algorithms. The system uses these algorithms to sift through vast amounts of data, identify patterns and discrepancies and predict future trends and outcomes. As more data is processed, the machine learning models become more accurate in their predictions.