How does an LLM work?