Think of favorite family recipe printed on three different index cards in kitchen drawer. One card is smudged, one has note about scaling ingredients, and one is clean original. If grandmother wants to pass down official version, she points to original card and says, "This is master copy; ignore others." Canonical URL performs identical role for search engines.
In modern online store, single product can often be reached via multiple distinct web addresses. For example, green t-shirt might have link based on summer collection category, another link through sale category, and third link generated by size filter. To Google, these look like three separate pages with identical text, which causes confusion about which version to rank.
Canonical URL is hidden tag placed in website code pointing directly to official master version. It tells search robots: "Even if you discovered this product through different paths, this specific link is official home page. Please send all search authority and ranking power here." This simple guide prevents internal competition among identical pages, keeping online store neat, orderly, and highly optimized for search engine indexing.