Stalemate and draws
Black to move. The king isn't in check, but every square he could go to is attacked, and he has no other pieces. It's stalemate: a draw.
In this lesson
Not every game has a winner. It's a draw when the side to move has no legal move and its king is not in check: that's stalemate. It's also a draw when there isn't enough material left to mate (king against king, or king and bishop against king), when the same position occurs three times, or when both players agree.
Stalemate is the classic trap for whoever is winning: with a big advantage, you move without looking and leave the enemy king with no moves.