To capture an opponent's piece, it must be within range of the capturing piece. The capturing piece can then be moved to the location of the piece being captured. The captured piece is removed from the chess board.

drawing of the 3P3 board showing a white pawn capturing a black pawn
The white pawn at b5 captures the black pawn at c5B.