The cloth around the neck allows a Shinobi to cover their face when necessary. Doing so tells the adversary that they are a Shinobi without revealing their identity.