The main functions of metadata:
Show page content to search engine spiders;
serve as instructions for browsers and software;
contain data about the source of the document.
It means that metadata shows search engines what your page is about and helps you optimize your content to promote the results.