" What does the hoop iron do exactly?"
When that stormwater pit overflows it stops the whole shebang from floating away down the street :)
It just ties the bearer to the post nice and simply rather than relying solely on nails into the end grain of the posts.
"or can I just nail it from each side into the ledger?"
yep, that's fine