The important goal that has to be accomplished in an essay's introduction is to define the author's intention and the main topic that is going to be discussed throughout the body paragraphs.
This goal is achieved through the definition of the essay's purpose and its structure (contrasting, analytical, persuasive, etc.) established in the thesis statement.