Machine learning is a subfield within AI that focuses on building self-optimizing algorithms that can iteratively produce precise predictions. Machine learning models are built and tested with large volumes of data, and the results are automatically verified constantly to improve the accuracy of the model's prediction and answers. In doing so, ML models can gradually gain accuracy and eventually imitate the way humans think for a specific set of problems on which they were trained.