One of the ways recycled denim gets used is in building insulation. There is more info here:
https://www.thespruce.com/denim-insulation-pros-cons-5116610
One quality of recycled denim insulation is that it is excellent at absorbing and damping sounds. People looking for high quality audio in their vehicles swear by denim.
** I tried to pick the least spamy source for additional more info. If you have a better source please post.
Better than just throwing them away, for sure!