a hat is used for protecting the head from rain or snow.