Arsenal have come from two goals down to draw 2-2 away to Standard Liege and win their group while Dynamo Kiev and Lazio both crashed out of the Europa League after the final round of group games.
There were thumping 4-0 wins for the already-qualified Manchester United and Wolves with AZ Alkmaar and Besiktas their respective victims.
Ashley Young (53rd), Mason Greenwood (58th, 64th) and Juan Mata (62nd) converted for the Red Devils, while in Wolverhampton a Diogo Jota hat-trick within 11 minutes (57th, 63rd, 68th) and Leander Dendoncker (67th) put paid to Besiktas' chances.
Jota became the first Wolves player in almost 50 years to score a European hat-trick.
Greenwood's brace earned him high praise from manager Ole Gunnar Solskjaer, who compared the young striker to Wayne Rooney.
Asked if he had seen anyone as good at the same age as Greenwood, who turned 18 in October, Solskjaer said: "I've seen a few good ones, yeah.
"I've played with Wazza myself. Obviously natural finishing, he's one of the best I've seen."
Scotland's Rangers also qualified for the knockout stage after a 1-1 draw at home to Young Boys.
They finish second to Porto, who beat Feyenoord to secure their qualification.
Enzo Crivelli's last-minute goal for Istanbul Basaksehir helped the Turkish side top Group J, eliminating Borussia Monchengladbach with a 2-1 win.
Roma finished group runners up to Manchester United after a 2-2 draw at Wolfsberg, while Ludogorets drew 1-1 with Ferencvaros to progress behind Group H winners Espanyol, who lost 1-0 at home against CSKA Moscow.
After a sluggish first half on Thursday, Arsenal went behind to two deflected strikes by Samuel Bastien and Selim Amallah before bursting into life after the break when Alexandre Lacazette and Bukayo Saka scored to put them level.
Interim Gunners coach Freddie Ljungberg made nine changes to the team that beat West Ham and was pleased his team selection did not come back to haunt him.
"Of course it was a little gamble but I believe in those young players and they pulled through and we're top of the group."
Eintracht Frankfurt looked set to go through as Group F winners until they conceded two late goals to lose 3-2 to bottom side Vitoria Guimaraes, to finish two points behind the Gunners.
Swedish side Malmo FF won their Scandinavian derby against FC Copenhagen, topping Group B ahead of their Danish rivals thanks to a 1-0 away win, while Dynamo Kiev slumped to a shock 1-0 defeat at home by bottom side Lugano to crash out.
Italian side Lazio were also eliminated after losing 2-0 away to bottom side Rennes, meaning that CFR Cluj of Romania, who beat Group E winners Celtic 2-0 at home, will join the Scots in the last 32.
Already-qualified Celtic left their stars at home, including Socceroo Tom Rogic, and Neil Lennon's team paid the price.
Austrian side LASK finished top of Group D thanks to a superb 2-0 home win over Sporting Lisbon, who had goalkeeper Renan Ribeiro sent off as he conceded a 35th-minute penalty, with the Portuguese side finishing second.
In Switzerland, FC Basel scored a goal in each half as they cruised to victory in Group C with a comfortable 2-0 win over Trabzonspor, and they will be joined in the next round by Getafe, who hammered 10-man Krasnodar 3-0 at home.
Australian Associated Press