In short
Everything the model can see on one run: the instructions, the files it was given, the conversation so far. Outside the window, it does not exist.
A model has two kinds of memory. What it learned in training, which is vast and frozen. And the context window, which is what you put in front of it right now: the instruction file, the documents, the messages. Only the second one is yours to control.

