A barque or bark is a type of sailing vessel with three or more masts of which the fore mast, mainmast, and any additional masts are rigged square, and only the aftmost mast is rigged fore and aft. So
Three-masted barque (US Revenue Cutter Salmon P. Chase, 1878–1907)
The tall ship Elissa is a three-masted barque in Galveston.
Russian Sedov at the Kantasatama Harbour in Kotka, Finland, during the Tall Ships’ Races 2017
A 1993 replica of HM Bark Endeavour
A fore-and-aft rig is a sailing ship rig with sails set mainly in the median plane of the keel, rather than perpendicular to it, as on a square-rigged vessel.
Barque
…more masts of which the fore mast, mainmast, and any additional masts are rigged square, and only the aftmost mast (mizzen in three-masted barques) is rigged fore and aft. Sometimes, the mizzen is only partly fore-and-aft rigged, bearing a square-rigged sail above. The word "barque" entered English via the French term…
The gaff-rigged schooner Effie M. Morrissey
Micronesian wa with crab claw sail
The earliest European fore-and-aft rigs appeared in the form of spritsails in Greco-Roman navigation, as this carving of a 3rd century AD Roman merchant ship
One of the ships in Borobudur depicting a double-outrigger vessel with fore-and-aft tanja sails on tripod masts (c. 8th century AD)