Refers to a piece of torn cloth.
Encontré un harrapo en el suelo que parecía parte de un viejo vestido.
I found a rag on the floor that seemed to be part of an old dress.
El niño desgastó su ropa hasta que solo quedaron harapos en su armario.
The boy wore his clothes out until only rags were left in his closet.