Well simply put , people either confuse themselves and others by using both these terms interchangeably , however understanding the fact that ML is a part of AI is the key. ML is a subset of AI , where the latter is a broad area consisting of other entities such as DL etc.