The context of a text is not the things that appear on the page but the circumstances in which it was written. The context helps to build up a background of how and why the piece of writing may ...
Some types of non-fiction text follow a pattern. You would expect an essay to start with an introduction and end with a conclusion, for example, or a letter to begin by addressing the recipient.