What does a Hat do?

A hat keeps your head warm and shades your eyes from the bright sun!

▶ what THAT clothes do?!