I decided to play a game against a real player in chess.com app. I played black.
At some point of the game I had a pawn on f5 and white had a pawn on e5. White captured my f5 pawn with the e5 pawn by moving the e5 pawn to f6!.
Is that a bug or a feature? I played for a while with bots and can’t remember they made such tricky moves.
[fen "rnbqkb1r/p3pppp/2p5/1p2P3/3PpP2/8/PPP1Q1PP/R1B1KBNR b - - 0 1"] 1...f5 2. exf6