The OpenAI team trained GPT-3.5, on texts containing billions of words. This has taught ChatGPT how to write in a way that is human-like. This training also means that GPT-3.5 has data available to provide answers to almost any question.