Hooks are used to modify the inner functionality of framework without affecting core files.Hooks are present in application/config/hooks.php