Machine learning is separated into 3 types. Supervised learning which trains models on data that is already labeled so that the program can predict new data. Unsupervised learning which finds patterns in unlabeled data. The last learning style is reinforcement learning which learns through trial and error. The goal of machine learning is to allow systems to learn from the data to make a decision or prediction.
Source: geeksforgeeks