The three main types of machine learning are supervised learning, unsupervised learning, and reinforcement learning. These types are based on how the model learns from data. In supervised learning, the model learns from labeled data, meaning it already knows the correct answers. In unsupervised learning, the model works with unlabeled data and tries to find patterns on its own. Reinforcement learning is different, as it learns by interacting with an environment and improving through rewards and penalties. Together, these types help machines learn in different ways depending on the problem.