a mast is used for holding up the sail of a ship.