A canonical tag is an HTML element used to prevent duplicate content issues in SEO by specifying the preferred version of a webpage. It signals to search engines which URL should be considered the authoritative source among duplicates, consolidating ranking signals and improving search visibility. Proper use of canonical tags ensures that your content is indexed correctly, avoiding penalties and boosting overall SEO performance.