A flag is a piece of fabric (most often rectangular or quadrilateral) with a distinctive design and colours. It is used as a symbol, a signalling device, or for decoration. The term flag is also used to refer to the graphic design employed, and flags have evolved into a general tool for rudimentary signalling and identification, especially in environments where communication is challenging (such as the maritime environment, where semaphore is used). Many flags fall into groups of similar designs called flag families. The study of flags is known as "vexillology" from the Latin vexillum, meaning "flag" or "banner".
National flags are patriotic symbols with widely varied interpretations that often include strong military associations because of their original and ongoing use for that purpose. Flags are also used in messaging, advertising, or for decorative purposes.
Some military units are called "flags" after their use of flags. A flag (Arabic: لواء) is equivalent to a brigade in Arab countries. In Spain, a flag (Spanish: bandera) is a battalion-equivalent in the Spanish Legion.
History of flags
The origin of the flag is unknown and it remains unclear when the first flag was raised.
Ships with vexilloids were represented on predynastic Egyptian pottery 3500 BCE. In antiquity, field signs that can be categorised as vexilloid or "flag-like" were used in warfare, originating in ancient Egypt or Assyria. Examples include the Sassanid battle standard Derafsh Kaviani, and the standards of the Roman legions such as the eagle of Augustus Caesar's Xth legion and the dragon standard of the Sarmatians; the latter was allowed to fly freely in the wind, carried by a horseman, but depictions suggest that it bore more similarity to an elongated dragon kite than to a simple flag.
While the origin of the flag remains a mystery, the oldest flag discovered is made of bronze: a Derafsh or 'flag-like' Shahdad, which was found in Shahdad, Iran, and dates back to 2400 BCE. It features a seated man and a kneeling woman facing each other, with a star in between.