I suggest that you Google - images - for examples. For me, headgear is a generic term for anything worn on the head for whatever purpose. A hat probably has a brim around the entire piece, and in the case of women's wear, it could be highly decorated.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.