Here's the point โ Checkmate is a check the king cannot escape. It wins the game instantly.
Checkmate = the king is attacked with no legal escape square.