What is the difference between check and checkmate?

When a king is about to be captured in the next opponents move, then the king is in check. If the king cannot get out of check, then the king is checkmated and loses the game