Declare the preferred URL for a page so search engines and crawlers consolidate ranking signals on one address, even when several URLs serve the same content.
Google — Consolidate duplicate URLs with canonicals
HTML Living Standard — Link types: canonical