What is the meaning of Fag-end?

last remnant

frayed end of a length of cloth or rope

The unsmoked end of a cigarette or cigar

Source: wiktionary.org