What is the meaning of Hatpin?

A long straight pin, often with a decorative head, used to secure a woman's hat to her hair.

Source: wiktionary.org