Artificial intelligence is the ability of a computer system to mimic human behavior such as problem-solving and learning. Whereas machine learning is an application of Artificial intelligence.