It is formed by combining two separate words:
* head (the part of the body that supports the face)
* band (a strip of material that is used to tie something or to hold something together)
Therefore, "headband" is a compound noun that refers to a band worn around the head.