The canonical tag is an HTML tag that tells Google about which URL should be considered for indexing in SERPs. This solves the duplicate content issues in your website if you have multiple pages with the same content.