a hat is used for preventing sunburn.