In SEO perspective, the canonical URL tag is similar to a 301 redirect. Simply as, you're telling the search engines that multiple pages should then be considered a-like or duplicate such for its content. Additionally, this canonical tag is inserted into the header of your HTML, and of course give link credit to the primary content.