The stunning upset prevented Chile's golden generation from challenging for a third straight title, following their wins over Argentina in 2015 and 2016.
Edison Flores scored the decisive penalty as Peru qualified for the semi-finals for the third time in the last four editions of Copa America.
Goals from Casemiro, Roberto Firmino, Everton, Dani Alves and Willian ensured the Brazil would finish top of Group A
Australia's World Cup ended with a whimper as goals from Andre Carrillo and Paolo Guerrero gave Peru a 2-0 victory in their final Group C match.
FIFA World Cup 2018, Highlights, France, Denmark Through To Last 16 After Goalless Draw in Moscow.
Australia have a solitary point from two matches and will be seeking an elusive win vs Peru.
Australia need to post a win to have even an outside chance to qualify.
Didier Deschamps' side face Denmark on Tuesday with top spot in Group C up for grabs but progression to the next stage assured.
FIFA World Cup 2018, Highlights France vs Peru: France beat Peru 1-0 in their Group C clash to enter last 16
Thursday's Doodle features teams from Group C and Group D that will be in action in Russia - Denmark, Australia, France, Peru, Argentina and Croatia.
Captain Hugo Lloris will make his 100th appearance for France when they face Peru on June 21.
France's talented but young squad will be favourites against a Peru side beaten 1-0 by Denmark in their opener.
With holders Germany losing to Mexico and Spain, Argentina and Brazil all drawing their opening games, the Peru clash is a prime opportunity for the French to stake their claim as the team to beat in Russia.
The win extended Denmark's unbeaten run to 16 games.
FIFA World Cup 2018, Highlights Football Match Score, Peru vs Denmark: The match is being held at Mordovia Arena Saransk in Russia.
The 26-year-old Eriksen has netted 22 times from 78 appearances since 2010.
Peru will add to the Latin American challenge in World Cup 2018 when they meet Denmark.
Paolo Guerrero scored twice in a 3-0 friendly win over Saudi Arabia to cap an emotional week for the Peru captain who was cleared to play at the World Cup after his long legal battle against a 14-month drugs suspension.