Artificial intelligence is when a machine does cognitive functions that are more associated with humans, such as thinking, learning,