Canada is a country occupying most of northern North America, extending from the Atlantic Ocean in the east to the Pacific Ocean in the west and northward into the Arctic Ocean. It is the world's second largest country by total area. Canada's common border with the United States to the south and northwest is the longest in the world. A federation consisting of ten provinces and three territories, Canada is governed as a parliamentary democracy and a constitutional monarchy with Queen Elizabeth II as its head of state. It is a bilingual nation with both English and French as official languages at the federal level. One of the world's highly developed countries, Canada has a diversified economy that is reliant upon its abundant natural resources and upon trade