Machine learning is a subset of artificial intelligence (AI) that allows machines to learn and improve from experience without being explicitly programmed.