What is the D-ring on the handle for?

You can click the carabiner to the D-ring when your dog is running loose and you wear the leash over your shoulders or attach poop bags to it.

This means you have your hands free when your dog is running loose.