It is provided by WordPress to allow your plugin to ' hook into' the whole WordPress; that is, to call functions in the plugin at particular times according to your need and thereby set your plugin in motion.

There are two kinds of hooks:
  • Actions hook
  • Filters hook
BY Best Interview Question ON 24 Apr 2022