A rag is a small leftover piece of cloth, usually used for something like cleaning with.
Some people use rags to make things from, like rag dolls or quilts.