What is the meaning of Headscarf?

A more or less square piece of material worn over the head, typically by women, often to protect the hair, or for religious reasons.

Source: wiktionary.org