Machine learning is a subset of AI, in which algorithms can learn from data without being explicitly programmed. They can identify patterns and relationships in data and use them to make predictions.