When generating each word, the model has several options with different probabilities. A low temperature makes it pick the most likely option most of the time; a high temperature gives less likely options a bigger chance.
Practical tip: use a low value for precise tasks such as data extraction and coding, and a higher value for brainstorming and creative writing. The setting usually appears in APIs and developer tools.