a hat is used for keeping your head warm