It predicts words
Every LLM is a giant prediction machine. Give it words and it guesses what likely comes next. Chain enough guesses together, and you end up with sentences, paragraphs, and answers that look deliberate.
It learned from text
LLMs are trained on huge amounts of text from books, websites, and code. They don't "know" facts like a person does, they learned patterns from data, which is a very different thing.