By header, we mean a section of the document which appears in the top margin, while by footer we mean a section of the document that appears in the bottom of the margin.
Headers and footers are used to contain information such as page number, date, document name etc.