The header line appears, optionally, at the top of a window.

The header line is analogous to the mode line, but appears optionally at the top of a window, whereas the mode line is usually present at the bottom of a window. The header line is controlled by the variable header-line-format.