AI, Artificial Intelligence, is usually defined as the ability of computer programs and robots to emulate the natural intelligence of humans, primarily cognitive functions such as the ability to learn things from past experiences, understand natural language, solve problems, plan a sequence of actions, and generalize .