Opposition is a king-and-pawn endgame concept in which the two kings face each other directly on the same rank, file, or diagonal with exactly one square between them; the player NOT forced to move is said to 'have the opposition,' since the side to move must give way and yield ground.
It matters because in king-and-pawn endings, controlling key squares often determines whether a pawn can be escorted to promotion or stopped, and the side with the opposition can force the opposing king to step aside, allowing its own king to advance or protect a pawn's path. A classic example is a king-and-pawn vs. king endgame: if the defending king holds the opposition in front of the pawn, the game is a draw, but if the attacking king wins or seizes the opposition at the critical moment, it can outflank the defender and the pawn promotes.
Related ideas include 'distant opposition' (kings far apart on the same line, same parity) and 'diagonal opposition,' both of which reduce to the same question of who is forced to move first.