A large language model is a type of generative artificial intelligence trained on large datasets to predict the next word or phrase in context. It generates text by estimating statistical probabilities learned during training. LLMs do not access a real-time database of facts; they rely on patterns established during model training.