ChatGPT is an AI chatbot capable of answering a range of questions; however, like all artificial intelligence programs, it has…