It borders the Atlantic Ocean to the west and south, and Spain to the north and east - the only country that has a land border with Portugal.