term
When a language model writes, it has a range of possible next tokens, each with a likelihood. Temperature changes how it chooses among them.
At a low temperature the model sticks closely to the most likely choices, so its answers are more predictable and repeatable. At a higher temperature it is more willing to pick less likely options, so its answers vary more from run to run.
Temperature does not make a model smarter or more knowledgeable. Higher settings can help when you want a spread of ideas; lower settings suit tasks where you want consistent, careful output. Turned up too far, the text can drift into nonsense.
Example
Brainstorming names for a bake sale might use a higher temperature; pulling dates out of a contract would use a low one.