Barcelona s Robert Lewandowski reacts after missing a chance during the Champions League Group C soccer match between Barcelona and Inter Milan at the Camp Nou stadium in Barcelona , Spain, Wednesday, Oct. 12, 2022 (AP)
Lewandowski's last-gasp header helped the Catalan club salvage a 3-3 draw with Inter Milan after the visitors had taken a 3-2 lead with a goal from Robin Gosens in the 89th.
A loss would have meant elimination for Barcelona for a second consecutive season in the group stage. But Xavi Hernandez's team remains in a difficult situation.
Third-place Barcelona has four points, three behind Inter in the fight for second in Group C. Bayern Munich, which beat Viktoria Plzen 4-2 for its fourth victory in a row, has advanced with 12 points.
It would have been the first time since 1999 that the Catalan club failed to advance to the knockout stage in consecutive years.
Barcelona took the lead from close range after a cross by Sergi Roberto in the 40th, but Inter rallied with goals from Nicolo Barella in the 50th and Lautaro Martinez in the 63rd.
Inter's first goal came after Gerard Pique let a ball go over his head as he apparently didn't realize Barella was behind him.
The hosts equalized with Lewandowski in the 82nd, but Inter moved ahead again through Gosens.
Goalkeeper Marc-Andre ter Stegen saved Barcelona again with a great foot save in the final minutes.
(For more sports news and updates, follow Ahram Online Sports on Twitter at @AO_Sports and on Facebook at AhramOnlineSports.)