Just like labels, tabs and back pocket flashers, hangtags are another way for brands to communicate their philosophy and the specifics of their products. They ‘hang’ from garments, hence the name.
Source: Nouvelle de Nîmes Nº 5: The Denim Dictionary