I used an old rag to clean the knife , and then I put *it* in the trash.

Are "the knife" and "it" the same entity?
no