A mast is a long pole on a ship that holds the sail.
The mast held both sails of the ship upright.
Example picture