When a king is in check and there is no way out, that's checkmate. The game is over and the checkmating side wins!
8
7
6
5
4
3
2
1a
b
c
d
e
f
g
h