Can a pawn take a knight?

Can a pawn take a knight? The pawn may capture either the rook or the knight, but not the bishop, which blocks the pawn from moving directly forward.

The pawn may capture either the rook or the knight, but not the bishop, which blocks the pawn from moving directly forward.