A canonical link is a way for website owners to tell search engines which version of a webpage is the preferred version when multiple versions of that same page exist. This can happen for a variety of reasons, such as different URLs leading to the same content or similar products listed on different pages.
By using a canonical link, website owners can consolidate the authority and ranking signals for a page into a single URL. This helps avoid duplicate content issues and ensures that search engines can accurately index and rank the content.
Think of a canonical link like the main course at a fancy dinner party. Just like how the main course is the star of the meal, the canonical link is the primary URL of a webpage that search engines should consider the “official” version of that page.