ChatGPT uses a powerful language model called GPT-3 (Generative Pre-trained Transformer 3) to generate human-like text. GPT-3 is trained on a massive dataset of human-generated text and is able to generate coherent and coherently formatted text for a wide variety of tasks.