Refers to something worthless or in bad condition.
La piltrafa que quedó del vestido fue utilizada para hacer un trapo.
The rag that remained from the dress was used to make a cloth.
La piltrafa que quedó del vestido estaba destinada a ser reciclada.
The rag that was left from the dress was meant to be recycled.