This is the Fool's Mate, the shortest possible game: 1.f3 e5 2.g4 Qh4#. Read the last move piece by piece: Q means queen, h4 is the square she lands on, and # means checkmate. The queen travels from d8 along the diagonal d8-e7-f6-g5-h4 and checks the king on e1 along h4-g3-f2-e1, and nothing can block or capture.
What to notice
Black's moves are numbered too, written 2...Qh4# when Black's move is shown on its own. The tempting 2...Qg5, attacking the g4 pawn, misses the mate: after 3.h4 the queen must retreat and the engine gives Black only a small edge.