An LLM predicts the next token (a word or part of a word) based on context. Despite the simple task, the scale and Transformer architecture allow it to "understand" complex instructions, write code, translate, and analyse.
Hallucinations (confident but false facts), knowledge capped at training date, limited context window, expensive to scale.