A hat pin is a decorative and functional accessory used to secure a hat to the hair, often featuring ornamental designs. Popular in the late 19th and early 20th centuries, hat pins are both collectible and stylish.