A canonical URL tells search engines which version of a page is the primary one when duplicates exist.