Machine learning is a subset or subfield of Artificial intelligence. It is a way of achieving Artificial Intelligence. As both are the two different concepts and the relation between both can be understood as "Artificial Intelligence uses different Machine learning algorithms and concepts to solve the complex problems."
Artificial Intelligence Interview Questions