The word "pirate" can be interchanged with several synonyms that have different connotations. For instance, "buccaneer" refers to a pirate who operated in the Caribbean, while a "privateer" was a pirate who was authorized by a government to attack enemy ships. A "corsair" was a pirate who operated in the Mediterranean, and a "raider" was a pirate who raided towns and villages along the coast. A "swashbuckler" is a flamboyant pirate who is known for daring feats of bravery and swordfighting. Lastly, a "freebooter" was a pirate who operated off the coast of Africa and was notorious for attacking slave ships.