What is the meaning of Topsail?

A sail or either of the two sails rigged just above the course sail and supported by the topmast on a square-rigged sailing ship.

In a fore-and-aft-rigged sailing boat, the sail that is set above the gaff at the top part of the mast.

Source: wiktionary.org