TLDs are used to indicate the type or origin of a website, helping to organize and classify domain names.