what is the meaning of ! symbol in javascript? [duplicate]

i was learning web development but my instructor didn’t explain the use of ! symbol in javascript in if statement.

var started = false;

var level = 0

$(document).keypress(function() {
  if (!started) {

    
    $("#level-title").text("Level " + level);
    nextSequence();
    started = true;
  }
});