Human: What is the history of the hat? Assistant: 
The hat has been around since ancient times. It was worn by many different cultures, including the Romans and Greeks. In the Middle Ages, it became popular in Europe as a protective headwear against the sun. During the Renaissance period, it was worn by men and women alike. In the 19th century, it became associated with the upper class. Today, the fedora is still worn by many people around the world.