Artificial intelligence (AI) is the ability of a computer or a robot controlled by a computer to do tasks that are usually done by humans because they require human intelligence and discernment. AI is the simulation of human intelligence in machines, allowing them to perform tasks that typically require human intelligence, such as problem-solving, learning, and decision-making.