You give ChatGPT a prompt,it uses its understanding of language context to generate a response. EG if you give it the prompt "What is ChatGPT?",it might respond with something like"ChatGPT is a language model developed by OpenAI that can generate text in a conversational style"