Refers to a loose thread.
Encontré una hilacha en mi camisa que me está molestando mientras la llevo puesta.
I found a thread in my shirt that is bothering me while I'm wearing it.
Con una hilacha de hilo, ella se dedicó a arreglar su vestido.
With a thread of yarn, she dedicated herself to fixing her dress.