Pretty much.
But it only takes words as input. Numbers are just another type of word. Sentences are just a series of words with a “.” word on the end.
This is why when you get a LLM to do basic math it fails so often - it has no concept of a number or operations on those numbers.
TIL, if anyone is curious https://en.wikipedia.org/wiki/Superfish#Lenovo_security_incident