En passant is a special pawn capturing move in chess that prevents a pawn in the fifth rank from being bypassed by an opponent's pawn that moves two squares forward from its starting position. The en passant rule was introduced in the fifteenth century to enhance the pace of the game.
If an enemy pawn makes the first two-step move in chess, you can capture it en passant as if it moved one step. En passant capture is a French term that means “in passing.”
In short, you can use en passant to capture on the opponent’s pawn forward move regardless of whether it jumps one square or two. However, the enemy pawn must be captured en passant on the very next move or you forfeit your chance to play en passant.