Machine Learning is part of Artificial Intelligence. In Traditional AI, a programmer would write his program that "behaves intelligently".
Unlike traditional AI, it uses data: it learns from examples. This is numeric data in forms of numbers, booleans or other data types. Real world data is converted to this numeric data. The numeric data is training input for the Machine Learning algorithms.