It’s just guessing the next token!
I mean, same as us? But it can keep millions of tokens in mind, instead of, like, 6