Mainsail
A mainsail is a sail located behind the main mast of a sailing vessel.
On a square rigged vessel, it is the lowest and largest sail on the main mast.
On a fore-and-aft rigged vessel, it is the lowest and largest and often the only sail rigged aft of the main mast, and is controlled along its foot by a spar known as the boom. A sail rigged in this position without a boom is generally called a trysail, and is used in extremely heavy weather.
The modern Bermuda rig uses a triangular mainsail as the only sail aft of the mast, closely coordinated with a jib for sailing upwind. A large overlapping jib or genoa is often larger than the mainsail. In downwind conditions (with the wind behind the boat) a spinnaker replaces the jib.
Most modern mainsails are "full-batten" mainsails. Battens enable the mainsail to project farther away from the mast. However, there is some cost associated with the battens themselves, "batten pockets" need to be sewn into the sail, and "batten cars" are needed to allow the sail to be raised and lowered.