Canonical tag is an attribute in the HTML code it allows administrators to prevent duplicate website content through the identification tag or card canonical preferred.
In the field of SEO, the canonical tag helps Google know the article on your website is not copy, and it should be found in search results website.