Start here. This is the direct spoken answer to practice first.
Overview
Context is the information available to one model invocation; it is broader than chat history and distinct from what changed during training.
The context window is the bounded token sequence a model can use for one request. It can contain system or developer instructions, the user's input, earlier conversation turns, retrieved documents, tool results, examples, and other application-supplied state. Generated output also needs room within the model or service limits. Context is runtime input; adding a document to a prompt does not retrain the model or permanently teach it that information.