Men's hats are the synonyms for elegant look. Not all man prefer casual pieces. Also, for some special events like weeding, engagement or red carpet shows most of them prefer to wear smoking suit with hat. Hats are used for summer days if you want to protect your head from the Sun.
Source: https://www.accessoriesandstyle.com.au/mens-accessories/mens-hats/