It just creates words. When it is plausible we argue they are sentient, when it’s not we claim they hallucinate.
It’s just the next most plausible word based on maths.