Machine learning is an aspect of AI that allows a program to gather data and make decisions from the information it has. Deep learning is a step further, where a neural network functions like a person's learning brain to come up with new outcomes and decisions based on the information it gathers rather than just repeating it.