Although they are two concepts that are related, AI and machine learning are not the same. The first is a branch of computer science that aims to develop systems capable of executing tasks that normally require human intelligence. In contrast, machine learning is a subfield of AI that is based on the premise that machines can learn from a set of data, identify patterns and make decisions with minimal human intervention . Likewise, consider that algorithms are capable of improving through experience and time.
A key difference is that AI can rely on a wide variety of techniques, including some that are not data-driven. For its part, machine learning always revolves around algorithms that learn from data. They are not separate concepts, but are intrinsically related.