Introduction: Artificial Intelligence (AI) is a field of computer science that focuses on creating intelligent machines that can learn, reason, and perform tasks that traditionally require human…