Artificial intelligence is intelligence demonstrated by machines, unlike the natural intelligence displayed by humans and animals, which involves consciousness and emotionality.
For simple comprehension, understand that machine learning is part of data science. It draws aspects from statistics and algorithms to work on the data generated and extracted from multiple resources. Data science is an all-encompassing term that includes aspects of machine learning for functionality. Whereas, the role of machine learning is to learn from data and to make predictions based on what it learns from the data. Data science will usually be used in a business setting but work in machine learning can be used in a wide range of settings and there are many research opportunities in machine learning.