Artificial intelligence (AI) is a rapidly advancing field that has the potential to revolutionize the way we live…