Boiling laundry can help to remove mold spores, which are more often than not are the cause of musty odors. This isn't something that should be done to your clothing, however. Most clothing cannot withstand the heat, so only boil sturdier items such as towels and sheets.