what makes a 100 dollar bill worth 100 dollars?

It's the promise of the government to back this bill, if necessary. It's also the agreement of the people to accept this bill as legal currency.