A flag is a piece of cloth, often flown from a pole or mast, generally used symbolically for signaling or identification.