There are three main types of machine learning: supervised learning, unsupervised learning, and reinforcement learning. Supervised learning uses labeled data to train models to make predictions, unsupervised learning finds patterns in unlabeled data through clustering, and reinforcement learning allows agents to learn behaviors through rewards and punishments from its environment.