a usually rectangular piece of fabric of distinctive design that is used as a symbol (as of a nation), as a signaling device, or as a decoration.