What is Drupal Hooks and how to invoke hooks

Drupal Hooks are the beauty of Drupal . It provides easy way to enhance existing functionality of any drupal module. For example: Suppose you are using any module say “ed_classified” Module to create your classified based site and you want a require as soon as someone post a classified then admin should get notified for(…)