In a 2-way bet, there are always exactly two possible outcomes, and only one of them can occur. This type of bet is typical for sports where a draw isn't possible, such as basketball or tennis. You'll also find it used in many special bets.
A classic example: Djokovic plays against Alcaraz - you simply bet on who wins the match.