Peru lies in western south america, along the pacific ocean.