Artificial Intelligence (AI) refers to the simulation of human intelligence by machines, especially computer systems. AI systems are designed to…