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 then removed from the chess board.

drawing of the 3-pawn board showing a bishop capturing a queen

A black bishop captures the white queen.