the long slender country runs along the border of two tectonic plates with the nazca plate beneath the south pacific ocean pushing into the south america plate a phenomenon that also formed the andes mountains