Both sides started brightly in Glasgow, Roman Yaremchuk's early shot kept out by Sweden goalkeeper Robin Olsen while at the other end, Alexander Isak curled a shot a metre wide.
After breezing through the group stage at Euro 2020, Italy was made to fight for its 2-1 victory over Austria on Saturday in a last-16 game that came to life in extra time
Modric's majestic goal in the 62nd minute helped Croatia beat Scotland 3-1 on Tuesday and give the team a spot in the round of 16 at Euro 2020 by finishing second in Group D
The world's top-ranked team beat Finland 2-0 on Monday to finish in first place in Group B and join Italy and the Netherlands in qualifying with maximum points.
Hungary took the lead in first-half injury time when Attila Fiola scored at a packed Puskas Arena. But Griezmann equalized from just inside the penalty area after Hungary failed to clear Kylian Mbappe’s cross from the right.