A National Ensign is a flag flown at the stern of a ship, primarily for the identification of the nationality of the vessel.
See also: Vexillology