Machine learning (ML) is a branch of artificial intelligence where machines learn from data and make predictions or decisions without being explicitly programmed for specific tasks. In traditional programming, a developer writes detailed instructions for how the computer should behave, while in machine learning, the model identifies patterns in data and uses these to make predictions.