Pawn vs pawn problem


It is the en passant. It is a special attack only pawns can do. It is also the only attack in which a piece kills another piece without landing on that piece

Have you not heard about it before?
The En Passant occurs when a pawn had moved 2 spaces forward in one move. If there is a pawn directly to the left or right of it and is on the same rank, it can kill it (if the white pawn is to be attacked, the pawns must be on the 4th rank, and if the black pawn is to be attacked, the pawns must be on the 5th rank)

En passent. This is what happened.