AI is a broader term that includes Machine Learning (ML) as certainly one of its subfields. ML is a way of teaching machines to analyze from data and carry out responsibilities that require human-like intelligence.