What is canonical tag?

What is canonical tag?

A canonical tag is a way of telling search engines that a specific URL is the master copy of a page. Canonical tag prevents problems caused by identical or tells search which version of a URL to appear in search result.