In sailing, a halyard or halliard is a line (rope) that is used to hoist a ladder, sail, flag or yard.