Hook location feature gives you control over the location of outputting the CSS/JS code. This is useful in case overriding another plugins’ CSS is required. Also sometimes its better to put your JS code in the footer to avoid slowing down your page load.