Artificial intelligence (AI) is "the study and design of intelligent agents" where an intelligent agent is a system that perceives its environment and takes actions which maximizes its chances of success.
In other words, AI is defined as "the science and engineering of making intelligent machines."
The term artificial intelligence is also used to describe an attribute of machines or programs: the intelligence that the system demonstrates.