ChatGPT is basically a parrot with more range and flexibility. Its just repeating chunks of language in response to a language cue that sounds to us like conversation but its has no idea what it means or if its true or not.