A very common use-case in Lightning Web Component is iterating a list over an array in HTML file using for:each or iterator directive. Many times as a developer, we have to do something on the items based on user interaction. You would definitely require to get selected record id from custom iteration.
