Machine learning (ML) is a type of artificial intelligence (AI) that allows computers to learn and improve from data without being explicitly programmed.