Infosys interview question

Difference between implicit wait and explicit wait in Selenium WebDriver.