There are 3 ways to escape check: capture the attacking piece, block the check with one of your pieces or move the king.
In this position Black clearly has only one choice.
😙 Where should Black move the king to ?
It would seem that King to c8 would be a good counterattacking move as White's rook is unprotected.
Unfortunately Black made a bad choice... Play the game
👍 NEW PAGE The Art of Checkmate