Artificial intelligence is the simulation of intelligent behaviour. It is an umbrella term that encompasses different algorithms and techniques for modelling complex systems.
Machine learning is a subset of AI that uses data to analysis to define behaviour, without being explicitly programmed.