Also known as signal flags, boat flags are an international code system used for two ships to signal to each other or for a ship to signal to shore.