Artificial intelligence is a machine’s ability to perform the cognitive functions we usually associate with human minds.