Heading tag is used to give the heading or sub headings to your web page.
Size of the text will depend upon the heading tag used.
For example : h1 tag will show text in large and bold whereas h2 will display text
smaller than h1 tag and so on till h6 tag which is smallest of all.
h1 defines most important heading and h6 defines least important heading.