This is a flag that indicates the filament inside the box. When you change the cardboard roll and the filament descriptions are lost. This flag reminds us of the filament inside.
It can also be used for small lengths of filament. I prefer to put them on smaller spools and use 2 different filaments in the box for small jobs