Hook is basically interacting with your Drupal core modules and extending their functionality suppose you take example of menu. So I have created a menu in that menu I am going to the sections and creating and defining something so you can implement a hook menu so how do you implement? When you create.module file.