It is a ribbon, rope or strap that is passed by the chin to secure a hat or a helmet. Chinstrap, Chinstrap.
Part of the hat that passed by the chin prevents the same fly driven by the wind