There are six different ways to draw in a game of chess:

Stalemate: a game ends in stalemate if it is your turn to move, but there is no move you can legally make - you cannot move your king without placing it in check.
Example

Perpetual check: a game ends when one player continually puts the other in check. It is often used to escape a likely defeat & force a draw.
Example

Repetition of moves: if the same position occurs three times in one game, a player can claim a draw. This can only be claimed if moves are recorded.

Draw by agreement: if both players agree that they are equally matched in position & material, and not likely to reach checkmate, they can agree to a draw.

Nothing happening:  when both players have made 50 moves without making a capture or moving a pawn, they can claim a draw.

Not enough firepower:  the following piece combinations are not enough to give checkmate -
king & bishop  v  king; king & knight  v  king; king & 2 knights  v  king; king  v  king