Another way to say "denim is used for making jeans" is "One material for making jeans is denim."