"Spain (pronounced /ˈspeɪn/ spayn; Spanish: España,),officially the Kingdom ofSpain (Spanish:Reino de España),is a country and member state of the European Union located in southwestern Europe on the Iberian Peninsula.[note 6]Its mainland is bordered to the south and east by the Mediterranean Sea except for a small land boundary with the British Overseas Territory of Gibraltar; to the north by France, Andorra, and the Bay of Biscay; and to the northwest and west by the Atlantic Ocean andPortugal.
Spanish territory also includes the Balearic Islands in the Mediterranean, the Canary Islands in the Atlantic Ocean off the African coast, and two autonomous cities in North Africa, Ceuta and Melilla, that border Morocco. Furthermore, the town of Llívia is a Spanish exclavesituated inside French territory. With an area of 504,030 km², it is the second largest country in Western Europe and the European Unionafter France."