Machine Learning (ML) is a subset of artificial intelligence (AI) that focuses on building systems that learn—or improve performance—based on data they consume. Instead of explicitly programming rules, we train models on data to make predictions or decisions.