A bonnet is a variety of headgear, hat or cap.
Specific types of headgear referred to as "bonnets" may include