What is en passant?
En passant is the trickiest rule in chess. But you'll learn it in three little steps.
When the other player's pawn moves two squares forward and lands next to your pawn, your pawn may still capture it, as if it had moved just one square. That is called en passant: 'in passing'.
Black moves the pawn two squares forward, from d7 to d5.
White captures en passant: the pawn goes to d6.
The black pawn on d5 disappears.
Black has just played d7–d5. Capture en passant.
Can you also capture en passant later on?
Now you are Black. White has just played e2–e4. Capture en passant.