It is the name of the third major city of Morocco, after Casablanca and Rabat. It is also the name of a class of hat without wings used in Turkey and North Africa. The fez or tarbush is a male headdress spread to several countries. Its name is due to the way in the Moroccan city the dyes were made for its manufacture.