Coforge interview question

How Chatgpt works internally ?