Introduction
We cannot always expect an author to be as honest and direct as Ernest Hemingway claims that he is in the aforementioned quote and more often than not, it is necessary to read between the lines in order to find the true meaning of a text. This technique is called analysis. How to use the technique often depends on what kind of text you are dealing with. Although a lot of sub-genres and mixes between the two exist, texts are generally divided into two main genres, fiction 1 and non-fiction 2.
Fiction
Fiction means that the events, people, dialogues, actions etc. described in the texts are not real. It often resembles real life and might even intend to, metaphorically 3, make a statement about the real world that we live in, but generally speaking, it is a figment 4 of the author's imagination 5. To boil it down, one could say that the main purpose of fiction is to entertain its readers.
Source The Library
Non-fiction
The term non-fiction, on the other hand, refers to what is not fictional, meaning what is not made up so to speak. The genre includes articles, speeches, talks, documentaries, manuals, news and other types of texts that involve actual events, people or information. One could argue that a journalist is also inventing or creating certain things when writing an article, but readers of non-fiction will expect factual details such as time and place to be very precisely presented thus 6 leaving the journalist with quite little space for such creation. The non-fiction genre, in broad terms, wants to inform its readers.
Source: The Greatest Books
The process of analysis and interpretation 7 cause the reader to change his or her understanding of the text as more information is revealed. This sometimes occurs without the reader even thinking about it. This process is illustrated by the hermeneutic circle.