Hey Muskan, WebDriverWait is applied on a certain element with defined expected condition and time. This wait is only applied to the specified element and can also throw an exception when an element is not found. WebDriverWait by default calls the ExpectedCondition every 500 milliseconds until it returns successfully.
Wait will ignore instances of NotFoundException that are encountered (thrown) by default in the 'until' condition, and immediately propagate all others. You can add more to the ignore list by calling ignoring(exceptions to add).