The primary job of the thesis in an essay is to:

Establish background information.

Control the rest of the essay.

Conclude the essay.

Set up comparisons.

Transition to the conclusion.