Where does the word denim come from?

It is from the French term serge de Nimes, a city in France famed for its pants. Serge is the name of a type of woven cloth.