The goals of Artificial Intelligence (AI) encompass creating intelligent systems capable of emulating human-like cognitive functions. These objectives include achieving…