A flag is a piece of cloth or similar material, typically oblong or square, attachable by one edge to a pole or rope and used as the symbol or emblem of a country or institution or as a decoration during public festivities. This is the
definition of a flag according to the Oxford Dictionary.